 
   # Internal: Used only for old events deprecation.
   on: (eventName) ->
+    deprecate ?= require('grim').deprecate
     switch eventName
       when 'activated'
         deprecate("Use Minimap::onDidActivate instead.")

{deprecate} = require 'grim'
EmitterMixin = require('emissary').Emitter
{Emitter} = require 'event-kit'
semver = require 'semver'

ViewManagement = require './mixins/view-management'
PluginManagement = require './mixins/plugin-management'
MinimapPluginGeneratorView = require './minimap-plugin-generator-view'

require '../vendor/resizeend'



  # Public: Opens the plugin generation view.
  generatePlugin: ->
    MinimapPluginGeneratorView ?= require './minimap-plugin-generator-view'
    view = new MinimapPluginGeneratorView()

  # Public: Calls the `callback` when the minimap package have been activated.
