[Pkg-javascript-commits] [backbone] 131/211: clarifying wording
Jonas Smedegaard
js at moszumanska.debian.org
Sat May 3 17:00:13 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 58708b3cec5509e2d6914af7f8a796212040faa0
Author: Jeremy Ashkenas <jashkenas at gmail.com>
Date: Mon Apr 25 15:55:40 2011 -0400
clarifying wording
---
index.html | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/index.html b/index.html
index 2bc6c37..6d17ff8 100644
--- a/index.html
+++ b/index.html
@@ -1376,13 +1376,8 @@ Accounts.fetch();
the model, or <tt>false</tt> if a validation error prevented the
model from being created. In order for this to work, your should set the
<a href="#Collection-model">model</a> property of the collection.
- </p>
-
- <p>
- You can pass in either an object literal or an existing model object. If you use
- an existing model, it will have its collection set to this collection, thereby
- removing it from any previous collection. However, the model should not have been
- saved to the server. Otherwise, use <tt>Collection.add</tt>.
+ The <b>create</b> method can accept either an attributes hash or an
+ existing, unsaved model object.
</p>
<pre>
--
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