mirror of
https://github.com/atom/atom.git
synced 2026-01-22 21:38:10 -05:00
Add shims in bootstrap script
This commit is contained in:
@@ -2,10 +2,6 @@
|
||||
{Document, Point, Range, Site} = require 'telepath'
|
||||
{Emitter, Subscriber} = require 'emissary'
|
||||
|
||||
#FIXME remove once all packages have been updated
|
||||
Emitter::trigger = (args...) => @emit(args...)
|
||||
Emitter::subscriptionCount = (args...) => @getSubscriptionCount(args...)
|
||||
|
||||
module.exports =
|
||||
_: require '../src/underscore-extensions'
|
||||
$: require '../src/jquery-extensions'
|
||||
|
||||
@@ -1,6 +1,11 @@
|
||||
# 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