Add PaneContainer::onDidDestroyPaneItem

This commit is contained in:
Nathan Sobo
2014-08-28 16:58:38 -06:00
parent b60b9f3e3a
commit 5471e9bccc
3 changed files with 8 additions and 4 deletions

View File

@@ -46,7 +46,8 @@ class Workspace extends Model
@openers = []
@subscribe @paneContainer, 'item-destroyed', @onPaneItemDestroyed
@paneContainer.onDidDestroyPaneItem(@onPaneItemDestroyed)
@registerOpener (filePath) =>
switch filePath
when 'atom://.atom/stylesheet'