     @markers = []
     @statusTiles = []
 
-    @tabs = [] # Array has methods that we need to perform certain operations, map won't be a good fit
+    @tabs = {} # Object has methods that we need to perform certain operations, map won't be a good fit
     @tabs['line'] = new BottomTab()
     @tabs['file'] = new BottomTab()
     @tabs['project'] = new BottomTab()


  updateTabs: ->
    visible = @getVisibleTabs()
    @tabs.forEach (tab, key) ->
      tab.classList.remove('first')
      tab.classList.remove('last')
      tab.visibility = visible.has(key)

    @panelWorkspace = atom.workspace.addBottomPanel item: @panel, visible: false

    @scope = atom.config.get('linter.defaultErrorTab').toLowerCase()
    for key, tab of @tabs
      tab.active = @scope is key

    @panel.id = 'linter-panel'
