Fix running callback when global.global is deleted

Close #2366.
This commit is contained in:
Cheng Zhao 2015-07-30 10:27:34 +08:00
parent b68356b9b9
commit 8d09f13bad

View file

@ -1,3 +1,5 @@
global = global # the "global.global" might be deleted later
module.exports = module.exports =
class CallbacksRegistry class CallbacksRegistry
constructor: -> constructor: ->