mirror of
https://github.com/jashkenas/backbone.git
synced 2026-04-30 03:00:06 -04:00
updating documentation for Collection#reset method signature, fixes #1785
This commit is contained in:
@@ -1819,7 +1819,7 @@ Accounts.fetch();
|
||||
</p>
|
||||
|
||||
<p id="Collection-reset">
|
||||
<b class="header">reset</b><code>collection.reset(models, [options])</code>
|
||||
<b class="header">reset</b><code>collection.reset([models], [options])</code>
|
||||
<br />
|
||||
Adding and removing models one at a time is all well and good, but sometimes
|
||||
you have so many models to change that you'd rather just update the collection
|
||||
|
||||
Reference in New Issue
Block a user