Skip to content

v1.0.5

Compare
Choose a tag to compare
@theironcook theironcook released this 30 Sep 21:56
· 41 commits to master since this release

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.