s/updated/update/ event

This commit is contained in:
Justin Ridgewell
2015-05-14 14:21:49 -04:00
parent 22b92bf925
commit 18fdc4c801

View File

@@ -1893,7 +1893,7 @@ var alphabetical = books.sortBy(function(book) {
<b class="header">add</b><code>collection.add(models, [options])</code>
<br />
Add a model (or an array of models) to the collection, firing an <tt>"add"</tt>
event for each model, and an <tt>"updated"</tt> event afterwards. If a <a href="#Collection-model">model</a> property is defined, you may also pass
event for each model, and an <tt>"update"</tt> event afterwards. If a <a href="#Collection-model">model</a> property is defined, you may also pass
raw attributes objects, and have them be vivified as instances of the model.
Returns the added (or preexisting, if duplicate) models.
Pass <tt>{at: index}</tt> to splice the model into the collection at the