Skip to content

Commit

Permalink
Merge pull request jashkenas#1071 from dira/patch-2
Browse files Browse the repository at this point in the history
Documentation for set - validation is skipped when passing {silent: true}
  • Loading branch information
jashkenas committed Mar 16, 2012
2 parents 7e82188 + d5751d5 commit a3282f4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -772,6 +772,8 @@ <h2 id="Model">Backbone.Model</h2>
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.
If <tt>{silent: true}</tt> is passed as an option, the validation is deferred
until the next change.
</p>

<p id="Model-escape">
Expand Down

0 comments on commit a3282f4

Please sign in to comment.