Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Remove deprecated calls #1871

Merged
merged 10 commits into from
Apr 16, 2014
Prev Previous commit
Next Next commit
Add PaneContainer::getActivePane
Corey Johnson committed Apr 15, 2014
commit d6ec73886f7167399f6d3f2391cfdbece44e6283
3 changes: 3 additions & 0 deletions src/pane-container.coffee
Original file line number Diff line number Diff line change
@@ -39,6 +39,9 @@ class PaneContainer extends Model
getPanes: ->
@root?.getPanes() ? []

getActivePane: ->
@activePane

paneForUri: (uri) ->
find @getPanes(), (pane) -> pane.itemForUri(uri)?