Use 'extend' instead of 'override'. updates #46

This commit is contained in:
JC Brand 2014-11-09 21:26:49 +01:00
parent 25b56e3538
commit 572b3e8d74

View File

@ -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