Skip to content

Commit 1e13273

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents c90fe84 + 842c0b5 commit 1e13273

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -788,8 +788,8 @@ If you would like to use this option, simply pass a compiled _.template instead
788788
or for a single instance modelBinder.bind(this.model, this.el, bindings, {modelSetOptions: {validate: true}});
789789
For single instance options, the bindings can be a fully configured set of bindings or the value of null if you want the default bindings.
790790
* bindCustomTriggers() has now been incorporated to the generic options argument at the class or instance level.
791-
For example: to set custom triggers options globally for all binders Backbone.ModelBinder.SetOptions({changeTriggers: {'': 'change': '', 'keyup'}});
792-
or for a single instance modelBinder.bind(this.model, this.el, {changeTriggers: {'': 'change': '', 'keyup'}});
791+
For example: to set custom triggers options globally for all binders Backbone.ModelBinder.SetOptions({changeTriggers: {'': 'change keyup'}});
792+
or for a single instance modelBinder.bind(this.model, this.el, {changeTriggers: {'': 'change keyup'}});
793793
* Added the els parameter to the converter functions
794794
* Added the changeTriggers to customize which view events trigger the model binder copies values from the view to the model
795795
* Added the modelSetOptions to allow the ModelBinder to send messages to the Model.set function and corresponding callbacks

0 commit comments

Comments
 (0)