Use 'extend' instead of 'override'. updates #46
This commit is contained in:
parent
25b56e3538
commit
572b3e8d74
@ -4798,7 +4798,7 @@
|
|||||||
'remove': function (name) {
|
'remove': function (name) {
|
||||||
delete converse.plugins[name];
|
delete converse.plugins[name];
|
||||||
},
|
},
|
||||||
'override': function (obj, attributes) {
|
'extend': function (obj, attributes) {
|
||||||
/* Helper method for overriding or extending Converse's Backbone Views or Models
|
/* Helper method for overriding or extending Converse's Backbone Views or Models
|
||||||
*
|
*
|
||||||
* When a method is overriden, the original will still be available
|
* When a method is overriden, the original will still be available
|
||||||
|
Loading…
Reference in New Issue
Block a user