From cf5349dca4d6dd0f257ba637870fff46cf400aba Mon Sep 17 00:00:00 2001
From: Jeremy Ashkenas
Date: Wed, 6 Nov 2013 15:47:27 -0300
Subject: [PATCH] =?UTF-8?q?Fixes=20#2833=20=E2=80=94=20document=20bound=20?=
=?UTF-8?q?comparator=20woes=20in=20the=20appropriate=20spot.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
index.html | 3 +++
1 file changed, 3 insertions(+)
diff --git a/index.html b/index.html
index 721b364d..d52eccde 100644
--- a/index.html
+++ b/index.html
@@ -1917,6 +1917,9 @@ var book = library.get(110);
"sort" comparator functions take two models, and return -1 if
the first model should come before the second, 0 if they are of
the same rank and 1 if the first model should come after.
+ Note that Backbone depends on the arity of your comparator function to
+ determine between the two styles, so be careful if your comparator function
+ is bound.