Skip to content

Commit

Permalink
Merge pull request jashkenas#1341 from caseywebdev/master
Browse files Browse the repository at this point in the history
Updated `Collection.sort()` doc to clarify priority maintenance
  • Loading branch information
jashkenas committed May 23, 2012
2 parents fdb3451 + 6f3328f commit 7bea8ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1612,7 +1612,7 @@ <h2 id="Collection">Backbone.Collection</h2>
<br />
Force a collection to re-sort itself. You don't need to call this under
normal circumstances, as a collection with a <a href="#Collection-comparator">comparator</a> function
will maintain itself in proper sort order at all times. Calling <b>sort</b>
will sort itself whenever a model is added. Calling <b>sort</b>
triggers the collection's <tt>"reset"</tt> event, unless silenced by passing
<tt>{silent: true}</tt>
</p>
Expand Down

0 comments on commit 7bea8ee

Please sign in to comment.