   render: =>
     @$el.html '<div id="jmbo-ui-tab-controller-view-context"></div>'
     bar = new BarView collection: @collection
-    # TODO: allow this to be set.
-
 
     @$el.append bar.render()
 


  set: (controllerViews...) =>
    @collection.reset [], silent: true
    # if controllersViews is empty then set the collection as empty and trigger
    # the reset event which causes the `TabBarView` to redraw.
    if controllerViews.length == 0
      @collection.trigger 'reset'
      return  

    @selectedIndex 0

  selectedIndex: (i) =>
    if not i?
      return i = @_selectedIndex

