Skip to content

Commit

Permalink
🔥 Remove event-kit dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
abe33 committed Nov 24, 2015
1 parent 12241d5 commit 4d0bcd4
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion lib/decoration.coffee
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
_ = require 'underscore-plus'
{Emitter} = require 'event-kit'
{Emitter} = require 'atom'

idCounter = 0
nextId = -> idCounter++
Expand Down
2 changes: 1 addition & 1 deletion lib/main.coffee
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{Emitter, CompositeDisposable} = require 'event-kit'
{Emitter, CompositeDisposable} = require 'atom'

PluginManagement = require './mixins/plugin-management'

Expand Down
2 changes: 1 addition & 1 deletion lib/minimap-plugin-generator-element.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ _ = require 'underscore-plus'
fs = require 'fs-plus'
path = require 'path'
{TextEditor, BufferedProcess} = require 'atom'
{CompositeDisposable} = require 'event-kit'
{CompositeDisposable} = require 'atom'
{registerOrUpdateElement} = require 'atom-utils'

# Internal: The {MinimapPluginGeneratorElement} is used whenever the user
Expand Down
2 changes: 1 addition & 1 deletion lib/minimap-quick-settings-element.coffee
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{registerOrUpdateElement, EventsDelegation, SpacePenDSL} = require 'atom-utils'
{CompositeDisposable, Emitter} = require 'event-kit'
{CompositeDisposable, Emitter} = require 'atom'

Main = require './main'

Expand Down
2 changes: 1 addition & 1 deletion lib/minimap.coffee
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{Emitter, CompositeDisposable} = require 'event-kit'
{Emitter, CompositeDisposable} = require 'atom'
DecorationManagement = require './mixins/decoration-management'
LegacyAdater = require './adapters/legacy-adapter'
BetaAdater = require './adapters/beta-adapter'
Expand Down
2 changes: 1 addition & 1 deletion lib/mixins/decoration-management.coffee
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Mixin = require 'mixto'
path = require 'path'
{Emitter} = require 'event-kit'
{Emitter} = require 'atom'
Decoration = null

# Public: The mixin that provides the decorations API to the minimap editor
Expand Down
2 changes: 1 addition & 1 deletion lib/mixins/plugin-management.coffee
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Mixin = require 'mixto'
{CompositeDisposable} = require 'event-kit'
{CompositeDisposable} = require 'atom'

# Public: Provides methods to manage minimap plugins.
#
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
"dependencies": {
"atom-utils": "0.7.x",
"delegato": "1.x",
"event-kit": "1.x",
"fs-plus": "2.x",
"mixto": "1.x",
"semver": "^4.3.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{CompositeDisposable} = require 'event-kit'
{CompositeDisposable} = require 'atom'

module.exports =
active: false
Expand Down

0 comments on commit 4d0bcd4

Please sign in to comment.