     @_location = location
 
     switch @opts.action
-      when 'commits' then @commitsLoaded = true
-      when 'diffs'   then @diffsLoaded = true
+      when 'commits'
+        @commitsLoaded = true
+      when 'diffs'
+        @diffsLoaded = true
 
     @bindEvents()
     @activateTab(@opts.action)

      @loadCommits($target.attr('href'))
    else if action == 'diffs'
      @loadDiff($target.attr('href'))

    @setCurrentAction(action)


      url: "#{source}.json"
      success: (data) =>
        document.getElementById('diffs').innerHTML = data.html
        @stickyDiffHeaders()
        @diffsLoaded = true

  toggleLoading: ->
    $('.mr-loading-status .loading').toggle()

  stickyDiffHeaders: ->
    $('.diff-header').trigger('sticky_kit:recalc')

  _get: (options) ->
    defaults = {
