Remove RootView.addPane method

This commit is contained in:
Nathan Sobo
2012-03-20 18:39:46 -06:00
parent ec9b4ffcd1
commit 66c444f167

View File

@@ -38,9 +38,6 @@ class RootView extends View
open: (path) ->
@lastActiveEditor().setBuffer(@project.open(path))
addPane: (view) ->
@append(view)
editorFocused: (editor) ->
if @panes.containsElement(editor)
_.remove(@editors, editor)
@@ -63,7 +60,6 @@ class RootView extends View
.appendTo(@panes)
.focus()
adjustSplitPanes: (element = @panes.children(':first'))->
if element.hasClass('row')
totalUnits = @horizontalGridUnits(element)
@@ -126,4 +122,4 @@ class RootView extends View
@fileFinder = new FileFinder
urls: relativePaths
selected: (relativePath) => @open(relativePath)
@addPane @fileFinder
@append @fileFinder