mirror of
https://github.com/atom/atom.git
synced 2026-02-15 17:15:24 -05:00
Add spec for onDidRemoveItem observers when moving items to other panes
This commit is contained in:
@@ -211,7 +211,7 @@ class Pane extends Model
|
||||
@addItem(item, index + i) for item, i in items
|
||||
items
|
||||
|
||||
removeItem: (item, destroyed) ->
|
||||
removeItem: (item, destroyed=false) ->
|
||||
index = @items.indexOf(item)
|
||||
return if index is -1
|
||||
if item is @activeItem
|
||||
|
||||
Reference in New Issue
Block a user