Merge pull request #3927 from jashkenas/megawac-patch-1

Silent true note for collection.remove
This commit is contained in:
Graeme Yeates
2016-02-08 15:09:39 -05:00

View File

@@ -1974,7 +1974,7 @@ ships.add([
object, any value acceptable as the <tt>id</tt> argument of
<a href="#Collection-get"><tt>collection.get</tt></a>.
Fires a <tt>"remove"</tt> event for each model, and a single
<tt>"update"</tt> event afterwards.
<tt>"update"</tt> event afterwards, unless <tt>{silent: true}</tt> is passed.
The model's index before removal is available to listeners as
<tt>options.index</tt>.
</p>