Browse Source

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

JC Brand 10 years ago
parent
commit
572b3e8d74
1 changed files with 1 additions and 1 deletions
  1. 1 1
      converse.js

+ 1 - 1
converse.js

@@ -4798,7 +4798,7 @@
             'remove': function (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
                 *
                 * When a method is overriden, the original will still be available