Skip to content

Commit

Permalink
Fixes #4097, add parse option to docs section for Backbone.Collection
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksey Avdeev authored and jgonggrijp committed Jul 27, 2023
1 parent 989e35b commit 1460a3a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1927,6 +1927,12 @@ <h2 id="Collection">Backbone.Collection</h2>
});
</pre>

<p>
If <tt>{parse: true}</tt> is passed as an <b>option</b>, the <b>attributes</b>
will first be converted by <a href="#Collection-parse">parse</a> before being
<a href="#Collection-set">set</a> on the collection.
</p>

<p id="Collection-models">
<b class="header">models</b><code>collection.models</code>
<br />
Expand Down

0 comments on commit 1460a3a

Please sign in to comment.