mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Emit legacy item-added DOM event correctly
This commit is contained in:
@@ -163,7 +163,7 @@ class PaneView extends View
|
||||
|
||||
@trigger 'pane:active-item-changed', [item]
|
||||
|
||||
onItemAdded: (item, index) =>
|
||||
onItemAdded: ({item, index}) =>
|
||||
@trigger 'pane:item-added', [item, index]
|
||||
|
||||
onItemRemoved: ({item, index, destroyed}) =>
|
||||
|
||||
Reference in New Issue
Block a user