Skip to content

Releases: theironcook/Backbone.ModelBinder

version 1.0.0

01 Jun 22:00
Compare
Choose a tag to compare
1.1.0

Cut 1.1.0 release

v1.0.5

30 Sep 21:56
Compare
Choose a tag to compare

Fixed issue 164 - Works with jQuery.noConflict

Added the ability to set static and instance options for the CollectionBinder. As of now, there is only one option: 'autoSort'. You can set the option globally via Backbone.CollectionBinder.SetOptions.

Added the ability to use template functions with the CollectionBinder.ElManagerFactory. Normally, I wouldn't use the ElManagerFactory except for very simple situations - especially because the content of the data isn't updated. If you would like to use this option, simply pass a compiled _.template instead of html to the ElManagerFactory constructor. Internally the ElManagerFactory will call the template and pass {model: this._model.toJSON()} to the template function.

Fix for issue 162. Undid fix for 133. Unnecessary Model.set calls for checkboxes and radio buttons.

v1.0.4

19 Aug 20:15
Compare
Choose a tag to compare
  • Fixed the _.bindAll function calls to specify the function names being bound to.
  • Added the ability to add a global converter via Backbone.ModelBinder.SetOptions({converter: xxx});