tweaking wording

This commit is contained in:
Jeremy Ashkenas
2012-04-09 16:13:24 -04:00
parent 2e652e4d1b
commit 8bb15b9ee5

View File

@@ -925,8 +925,7 @@ alert("Dessert will be " + (new Meal).get('dessert'));
<p class="warning">
Remember that in JavaScript, objects are passed by reference, so if you
include an object as a default value, it will be shared among all instances.
Defaults containing objects passed by reference should be defined using a
function if you do not wish to share these objects between all instances.
Instead, define <b>defaults</b> as a function.
</p>
<p id="Model-toJSON">