mirror of
https://github.com/jashkenas/backbone.git
synced 2026-04-30 03:00:06 -04:00
Update index.html
A little typo in save section
This commit is contained in:
@@ -1295,7 +1295,7 @@ book.save({author: "Teddy"});
|
||||
|
||||
<p>
|
||||
<b>save</b> accepts <tt>success</tt> and <tt>error</tt> callbacks in the
|
||||
options hash, which will passed the arguments <tt>(model, response, options)</tt>.
|
||||
options hash, which will be passed the arguments <tt>(model, response, options)</tt>.
|
||||
If a server-side validation fails, return a non-<tt>200</tt>
|
||||
HTTP response code, along with an error response in text or JSON.
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user