mirror of
https://github.com/jashkenas/backbone.git
synced 2026-04-30 03:00:06 -04:00
Merge pull request #3927 from jashkenas/megawac-patch-1
Silent true note for collection.remove
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user