mirror of
https://github.com/jashkenas/backbone.git
synced 2026-01-24 14:27:56 -05:00
document collection.reset() with no args.
This commit is contained in:
@@ -1367,6 +1367,11 @@ Accounts.fetch();
|
||||
</script>
|
||||
</pre>
|
||||
|
||||
<p>
|
||||
Calling <tt>collection.reset()</tt> without passing any models as arguments
|
||||
will empty the entire collection.
|
||||
</p>
|
||||
|
||||
<p id="Collection-create">
|
||||
<b class="header">create</b><code>collection.create(attributes, [options])</code>
|
||||
<br />
|
||||
|
||||
Reference in New Issue
Block a user