[Pkg-javascript-commits] [backbone] 266/281: fixes #64 -- mention that POST and PUT are complete in docs.
Jonas Smedegaard
js at moszumanska.debian.org
Sat May 3 17:02:21 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 e08ff142852255a8d15bb7d0be90450e42ba0f9d
Author: Jeremy Ashkenas <jashkenas at gmail.com>
Date: Mon Jan 30 09:47:48 2012 -0500
fixes #64 -- mention that POST and PUT are complete in docs.
---
index.html | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/index.html b/index.html
index 6c2168e..0dcb343 100644
--- a/index.html
+++ b/index.html
@@ -851,7 +851,8 @@ setInterval(function() {
Save a model to your database (or alternative persistence layer),
by delegating to <a href="#Sync">Backbone.sync</a>. The <b>attributes</b>
hash (as in <a href="#Model-set">set</a>) should contain the attributes
- you'd like to change -- keys that aren't mentioned won't be altered.
+ you'd like to change — keys that aren't mentioned won't be altered — but,
+ a <i>complete representation</i> of the resource will be sent to the server.
If the model has a <a href="#Model-validate">validate</a>
method, and validation fails, the model will not be saved. If the model
<a href="#Model-isNew">isNew</a>, the save will be a <tt>"create"</tt>
--
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