[Pkg-javascript-commits] [backbone] 162/211: document collection.reset() with no args.
Jonas Smedegaard
js at moszumanska.debian.org
Sat May 3 17:00:18 UTC 2014
This is an automated email from the git hooks/post-receive script.
js pushed a commit to tag 0.5.0
in repository backbone.
commit 5f7b01d94c4b687d8d5056ce8a21146cb5907bcd
Author: Jeremy Ashkenas <jashkenas at gmail.com>
Date: Thu May 26 14:30:37 2011 -0400
document collection.reset() with no args.
---
index.html | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/index.html b/index.html
index 5696634..b2f2b07 100644
--- a/index.html
+++ b/index.html
@@ -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 />
--
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