     @renderDiffs()
 
   renderDiffs: =>
-    lines = @minimapView.find('.lines')[0].childNodes[0].childNodes
-
     @removeDiffs()
 
     diffs = @getDiffs()

        for row in [newStart...newStart + newLines]
          start = displayBuffer.screenRowForBufferRow(row)
          end = displayBuffer.lastScreenRowForBufferRow(row)
          @decorateLines(lines, start, end, 'added')

      else if newLines is 0 and oldLines > 0
        start = displayBuffer.screenRowForBufferRow(newStart)

        if start is 0 and start is end
          start = end = 1

        @decorateLines(start, end, 'removed')

      else
        for row in [newStart...newStart + newLines]
          start = displayBuffer.screenRowForBufferRow(row)
          end = displayBuffer.lastScreenRowForBufferRow(row)
          @decorateLines(start, end, 'modified')

  decorateLines: (start, end, status) ->

    for row in [start..end]
      @minimapView.addLineClass(row, "git-line-#{status}")

  removeDiffs: ->
    @minimapView?.removeAllLineClasses('git-line-added', 'git-line-removed', 'git-line-modified')

  destroy: ->
    @deactivate()
