add options.parse to the model constructor documentation

This commit is contained in:
Steve Craig
2013-02-17 11:16:51 +00:00
parent 1a4d08b7c6
commit d3ce40e0e0

View File

@@ -961,6 +961,12 @@ new Book({
otherwise added automatically when you first add a model to a collection.
</p>
<p>
If <tt>{parse: true}</tt> is passed as an <b>option</b>, the <b>attributes</b>
will first be converted by <a href="#Model-parse">parse</a> before being
<a href="#Model-set">set</a> on the model.
</p>
<p id="Model-get">
<b class="header">get</b><code>model.get(attribute)</code>
<br />