       'minimap.useHardwareAcceleration': (@useHardwareAcceleration) =>
         @requestUpdate() if @attached
 
+  # Internal: DOM callback invoked when a new {MinimapElement} is attached
+  # to the DOM.
   attachedCallback: ->
     @subscriptions.add atom.views.pollDocument => @pollDOM()
     @measureHeightAndWidth()
     @attached = true
 
+  # Internal: DOM callback invoked when a new {MinimapElement} is detached
+  # from the DOM.
   detachedCallback: ->
     @attached = false
-
-  attributeChangedCallback: (attrName, oldValue, newValue) ->
 
   #       ###    ######## ########    ###     ######  ##     ##
   #      ## ##      ##       ##      ## ##   ##    ## ##     ##

  #    ##    ## ##    ## ##    ##
  #     ######   ######   ######

  applyStyles: (element, styles) ->
    cssText = ''


  #    ##         ## ##   ##       ##   ###    ##    ##    ##
  #    ########    ###    ######## ##    ##    ##     ######

  # Internal: Helper method to register config observers.
  #
  # config - An {Object} mapping the config name to observe with the listener
  #          {Function} to call when the setting was changed.
  observeConfig: (configs={}) ->
    for config, callback of configs
      @subscriptions.add atom.config.observe config, callback

  # Internal: Callback triggered when the mouse is pressed on the
  # {MinimapElement} canvas.
  #
  # event - The {Event} object.
  mousePressedOverCanvas: ({which, pageY, target}) ->
    return if which isnt 1

