[Pkg-javascript-commits] [backbone] 167/281: Fixes #839
Jonas Smedegaard
js at moszumanska.debian.org
Sat May 3 17:02:08 UTC 2014
This is an automated email from the git hooks/post-receive script.
js pushed a commit to tag 0.9.0
in repository backbone.
commit d3ae0aa92af623b95a604cac0c9dde6ce004aea1
Author: Jeremy Ashkenas <jashkenas at gmail.com>
Date: Wed Jan 11 15:56:27 2012 -0500
Fixes #839
---
index.html | 1 +
1 file changed, 1 insertion(+)
diff --git a/index.html b/index.html
index de304f7..cb81f98 100644
--- a/index.html
+++ b/index.html
@@ -628,6 +628,7 @@ note.set({title: "October 12", content: "Lorem Ipsum Dolor Sit Amet..."});
If the model has a <a href="#Model-validate">validate</a> method,
it will be validated before the attributes are set, no changes will
occur if the validation fails, and <b>set</b> will return <tt>false</tt>.
+ Otherwise, <b>set</b> returns a reference to the model.
You may also pass an <tt>error</tt>
callback in the options, which will be invoked instead of triggering an
<tt>"error"</tt> event, should validation fail.
--
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