Add PaneContainer::getActivePane

This commit is contained in:
Corey Johnson 2014-04-15 14:55:28 -07:00
parent 411cf579f4
commit d6ec73886f

View File

@ -39,6 +39,9 @@ class PaneContainer extends Model
getPanes: ->
@root?.getPanes() ? []
getActivePane: ->
@activePane
paneForUri: (uri) ->
find @getPanes(), (pane) -> pane.itemForUri(uri)?