Add "electron" module

This commit is contained in:
Cheng Zhao 2015-11-12 16:28:22 +08:00
parent ce0167756e
commit c2c09daa23
6 changed files with 84 additions and 0 deletions

View file

@ -17,6 +17,7 @@ require path.resolve(__dirname, '..', '..', 'common', 'lib', 'init')
# of Atom's built-in libraries.
globalPaths = Module.globalPaths
globalPaths.push path.resolve(__dirname, '..', 'api', 'lib')
globalPaths.push path.resolve(__dirname, '..', 'api', 'lib', 'exports')
# The global variable will be used by ipc for event dispatching
v8Util = process.atomBinding 'v8_util'