minor js library updates

This commit is contained in:
Keivan Beigi 2013-05-31 16:03:38 -07:00 committed by kay.one
parent dca32e9e0f
commit c34ae218e8
3 changed files with 53 additions and 23 deletions

View file

@ -17,7 +17,7 @@
}
Backbone.ModelBinder = function(){
_.bindAll(this);
_.bindAll.apply(_, [this].concat(_.functions(this)));
};
// Static setter for class level options
@ -85,7 +85,7 @@
this._options['modelSetOptions'].changeSource = 'ModelBinder';
if(!this._options['changeTriggers']){
this._options['changeTriggers'] = {'*': 'change', '[contenteditable]': 'blur'};
this._options['changeTriggers'] = {'': 'change', '[contenteditable]': 'blur'};
}
if(!this._options['initialCopyDirection']){