mirror of
https://github.com/atom/atom.git
synced 2026-01-22 21:38:10 -05:00
Shim Emitter at top of Atom class
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
#FIXME remove once all packages have been updated
|
||||
{Emitter} = require 'emissary'
|
||||
Emitter::trigger = (args...) => @emit(args...)
|
||||
Emitter::subscriptionCount = (args...) => @getSubscriptionCount(args...)
|
||||
|
||||
fsUtils = require './fs-utils'
|
||||
$ = require './jquery-extensions'
|
||||
_ = require './underscore-extensions'
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
# Like sands through the hourglass, so are the days of our lives.
|
||||
startTime = new Date().getTime()
|
||||
|
||||
#FIXME remove once all packages have been updated
|
||||
{Emitter} = require 'emissary'
|
||||
Emitter::trigger = (args...) => @emit(args...)
|
||||
Emitter::subscriptionCount = (args...) => @getSubscriptionCount(args...)
|
||||
|
||||
require './window'
|
||||
|
||||
Atom = require './atom'
|
||||
|
||||
Reference in New Issue
Block a user