       @showItemAtIndex(0)
 
   # Public: Switches to the previous contained item.
-  showPreviousItem: =>
+  showPreviousItem: ->
     index = @getActiveItemIndex()
     if index > 0
       @showItemAtIndex(index - 1)

      when 2 then true

  # Public: Saves the currently focused item.
  saveActiveItem: =>
    @saveItem(@activeItem)

  # Public: Save and prompt for path for the currently focused item.
  saveActiveItemAs: =>
    @saveItemAs(@activeItem)

  # Public: Saves the specified item and call the next action when complete.

    @items[index]

  # Public: Switches to the next contained item.
  showNextItem: ->
    index = @getActiveItemIndex()
    if index < @items.length - 1
      @showItemAtIndex(index + 1)
