mirror of
https://github.com/jashkenas/backbone.git
synced 2026-04-30 03:00:06 -04:00
additional documentation for Model.clear
* specifies that the `id` attribute is removed
This commit is contained in:
@@ -845,7 +845,7 @@ if (note.has("title")) {
|
||||
<p id="Model-clear">
|
||||
<b class="header">clear</b><code>model.clear([options])</code>
|
||||
<br />
|
||||
Removes all attributes from the model. Fires a <tt>"change"</tt> event unless
|
||||
Removes all attributes from the model, including the <tt>id</tt> attribute. Fires a <tt>"change"</tt> event unless
|
||||
<tt>silent</tt> is passed as an option.
|
||||
</p>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user