From 6f3328f23970d6939cbfa1e6c5fce0218121e5d9 Mon Sep 17 00:00:00 2001 From: Casey Foster Date: Wed, 23 May 2012 07:56:55 -0700 Subject: [PATCH] Updated `Collection.sort()` doc to clarify priority maintenance --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 20325423..0f708bf4 100644 --- a/index.html +++ b/index.html @@ -1612,7 +1612,7 @@ alert(chapters.pluck('title'));
Force a collection to re-sort itself. You don't need to call this under normal circumstances, as a collection with a comparator function - will maintain itself in proper sort order at all times. Calling sort + will sort itself whenever a model is added. Calling sort triggers the collection's "reset" event, unless silenced by passing {silent: true}