mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Shim one to once
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#FIXME remove once all packages have been updated
|
||||
{Emitter} = require 'emissary'
|
||||
Emitter::one = (args...) => @once(args...)
|
||||
Emitter::trigger = (args...) => @emit(args...)
|
||||
Emitter::subscriptionCount = (args...) => @getSubscriptionCount(args...)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user