Add BIND_DONE event for process object
This commit is contained in:
parent
e110f5c37c
commit
24b4fcea15
3 changed files with 6 additions and 4 deletions
|
@ -23,9 +23,8 @@ process.argv.splice startMark, endMark - startMark + 1
|
|||
globalPaths = module.globalPaths
|
||||
globalPaths.push path.join process.resourcesPath, 'atom', 'browser', 'api', 'lib'
|
||||
|
||||
# Do loading in next tick since we still need some initialize work before
|
||||
# native bindings can work.
|
||||
setImmediate ->
|
||||
# Following operations need extra bindings by AtomBindings.
|
||||
process.once 'BIND_DONE', ->
|
||||
# Import common settings.
|
||||
require path.resolve(__dirname, '..', '..', 'common', 'lib', 'init.js')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue