mirror of
https://github.com/jashkenas/backbone.git
synced 2026-04-08 03:00:26 -04:00
Fix typo, "models state" should be "model's state"
This commit is contained in:
@@ -837,7 +837,7 @@ new Book({
|
||||
<b class="header">set</b><code>model.set(attributes, [options])</code>
|
||||
<br />
|
||||
Set a hash of attributes (one or many) on the model. If any of the attributes
|
||||
change the models state, a <tt>"change"</tt> event will be triggered, unless
|
||||
change the model's state, a <tt>"change"</tt> event will be triggered, unless
|
||||
<tt>{silent: true}</tt> is passed as an option. Change events for specific
|
||||
attributes are also triggered, and you can bind to those as well, for example:
|
||||
<tt>change:title</tt>, and <tt>change:content</tt>. You may also pass
|
||||
|
||||
Reference in New Issue
Block a user