   showSearchPanel: ->
     @searchPanel.show()
 
-  createSearchPanel: (el) ->
-    unless @itemsPanel
+  createSearchPanel: (el) =>
+    unless @searchPanel
       @searchPanel = atom.workspace.addTopPanel(item: el)
 
-  createItemsPanel: (el) ->
+  createItemsPanel: (el) =>
     unless @itemsPanel
       @itemsPanel = atom.workspace.addTopPanel(item: el)
 

      atom.workspace.open Path.join(selectedItem.projectPath, selectedItem.relPath)

  removeOnDispose: (o) ->
    unless typeof o.dispose is 'function'
      if typeof o is 'function'
        o = new Disposable(o)
      else

  dispose: ->
    @disposables.dispose()
    @disposables = null
    @searchPanel?.destroy()
    @searchPanel = null
    @itemsPanel?.destroy()
    @itemsPanel = null
