Permalink
Browse files

Update collection docs on underscore methods.

  • Loading branch information...
1 parent 4128390 commit 05fbaad186d540a37faaf7e9bdea509d84be3c62 @braddunbar braddunbar committed Mar 4, 2014
Showing with 9 additions and 4 deletions.
  1. +9 −4 index.html
View
@@ -362,7 +362,7 @@
<li>– <a href="#Collection-models">models</a></li>
<li>– <a href="#Collection-toJSON">toJSON</a></li>
<li>– <a href="#Collection-sync">sync</a></li>
- <li>– <a href="#Collection-Underscore-Methods"><b>Underscore Methods (28)</b></a></li>
+ <li>– <a href="#Collection-Underscore-Methods"><b>Underscore Methods (32)</b></a></li>
<li>– <a href="#Collection-add">add</a></li>
<li>– <a href="#Collection-remove">remove</a></li>
<li>– <a href="#Collection-reset">reset</a></li>
@@ -1682,9 +1682,9 @@ <h2 id="Collection">Backbone.Collection</h2>
</p>
<p id="Collection-Underscore-Methods">
- <b class="header">Underscore Methods (28)</b>
+ <b class="header">Underscore Methods (32)</b>
<br />
- Backbone proxies to <b>Underscore.js</b> to provide 28 iteration functions
+ Backbone proxies to <b>Underscore.js</b> to provide 32 iteration functions
on <b>Backbone.Collection</b>. They aren't all documented here, but
you can take a look at the Underscore documentation for the full details&hellip;
</p>
@@ -1710,13 +1710,18 @@ <h2 id="Collection">Backbone.Collection</h2>
<li><a href="http://underscorejs.org/#size">size</a></li>
<li><a href="http://underscorejs.org/#first">first (head, take)</a></li>
<li><a href="http://underscorejs.org/#initial">initial</a></li>
- <li><a href="http://underscorejs.org/#rest">rest (tail)</a></li>
+ <li><a href="http://underscorejs.org/#rest">rest (tail, drop)</a></li>
<li><a href="http://underscorejs.org/#last">last</a></li>
<li><a href="http://underscorejs.org/#without">without</a></li>
<li><a href="http://underscorejs.org/#indexOf">indexOf</a></li>
<li><a href="http://underscorejs.org/#lastIndexOf">lastIndexOf</a></li>
<li><a href="http://underscorejs.org/#isEmpty">isEmpty</a></li>
<li><a href="http://underscorejs.org/#chain">chain</a></li>
+ <li><a href="http://underscorejs.org/#difference">difference</a></li>
+ <li><a href="http://underscorejs.org/#sample">sample</a></li>
+ <li><a href="http://underscorejs.org/#partition">partition</a></li>
+ <li><a href="http://underscorejs.org/#countBy">countBy</a></li>
+ <li><a href="http://underscorejs.org/#indexBy">indexBy</a></li>
</ul>
<pre>

0 comments on commit 05fbaad

Please sign in to comment.