mirror of
https://github.com/jashkenas/backbone.git
synced 2026-04-30 03:00:06 -04:00
Fix #1987 - Mention the removal of options.index in the changelog
Conflicts: index.html
This commit is contained in:
10
index.html
10
index.html
@@ -3936,6 +3936,16 @@ ActiveRecord::Base.include_root_in_json = false
|
||||
To set what library Backbone uses for DOM manipulation and Ajax calls,
|
||||
use <tt>Backbone.$ = ...</tt> instead of <tt>setDomLibrary</tt>.
|
||||
</li>
|
||||
<li>
|
||||
Removed the <tt>Backbone.wrapError</tt> helper method. Overriding
|
||||
<tt>sync</tt> should work better for those particular use cases.
|
||||
</li>
|
||||
<li>
|
||||
To improve the performance of <tt>add</tt>, <tt>options.index</tt>
|
||||
will no longer be set in the `add` event callback.
|
||||
<tt>collection.indexOf(model)</tt> can be used to retrieve the index
|
||||
of a model as necessary.
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<b class="header">0.9.2</b> — <small><i>March 21, 2012</i></small> — <a href="https://github.com/documentcloud/backbone/compare/0.9.1...0.9.2">Diff</a><br />
|
||||
|
||||
Reference in New Issue
Block a user