Merge pull request #1415 from atom/ns-pane-model-specs

Move relevant pane specs from PaneView to Pane model
This commit is contained in:
Nathan Sobo
2014-01-15 15:06:43 -08:00
3 changed files with 444 additions and 499 deletions

View File

@@ -44,8 +44,6 @@ class PaneView extends View
@handleEvents()
handleEvents: ->
@subscribe @model, 'destroyed', => @remove()
@subscribe @model.$activeItem, @onActiveItemChanged
@subscribe @model, 'item-added', @onItemAdded
@subscribe @model, 'item-removed', @onItemRemoved