and for model destory TODO polyfill TODO mixin

This commit is contained in:
Peter Cottle 2015-04-11 12:13:19 -07:00
parent d4e0887bc7
commit 1427ba0e58
3 changed files with 54 additions and 1 deletions

View file

@ -201,7 +201,6 @@ var Command = Backbone.Model.extend({
},
addWarning: function(msg) {
console.log('this is the warning', msg);
this.get('warnings').push(msg);
// change numWarnings so the change event fires. This is bizarre -- Backbone can't
// detect if an array changes, so adding an element does nothing