   updateScroll: =>
     @indicator.setX(@scrollView.scrollLeft)
     @updateScrollY()
-    @trigger 'minimap:scroll'
+    @emitter.emit 'did-scroll'
 
   # Internal: Updates the position of the various elements of the minimap
   # after a scroll changes.

  #
  # editorView - The `TextEditorView` for which displaying a minimap.
  constructor: (editorView) ->
    @setEditorView(editorView)

    @paneView.classList.add('with-minimap')

{$, View} = require 'atom-space-pen-views'
Delegato = require 'delegato'
{CompositeDisposable, Disposable, Emitter} = require 'event-kit'

MinimapRenderView = require './minimap-render-view'
MinimapIndicator = require './minimap-indicator'
