[Pkg-javascript-commits] [backbone] 14/173: Docs for Collection#at behavior

Jonas Smedegaard dr at jones.dk
Wed Aug 31 07:43:57 UTC 2016


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository backbone.

commit 73578911e8fef2e77bcd8627db415ede721ef1e4
Author: FishbaitHarry <fishbaitharry at gmail.com>
Date:   Sat Sep 19 18:09:15 2015 +0200

    Docs for Collection#at behavior
---
 index.html | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/index.html b/index.html
index e688228..21a85c7 100644
--- a/index.html
+++ b/index.html
@@ -2048,7 +2048,8 @@ var book = library.get(110);
       <br />
       Get a model from a collection, specified by index. Useful if your collection
       is sorted, and if your collection isn't sorted, <b>at</b> will still
-      retrieve models in insertion order.
+      retrieve models in insertion order. When passed a negative index, it
+      will retrieve the model from the back of the collection.
     </p>
 
     <p id="Collection-push">

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/backbone.git



More information about the Pkg-javascript-commits mailing list