This website requires JavaScript.
Explore
Help
Sign In
mirrors
/
electron
Watch
2
Star
0
Fork
You've already forked electron
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
f751335bf9
electron
/
spec
/
fixtures
/
module
/
declare-process.js
3 lines
60 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Redeclare process/global as strings
2017-01-30 17:58:44 +00:00
const
process
=
'declared process'
Update the Node submodule to use the new module wrapper See the fixed issue for the context. This pulls in a vendored copy of Node that includes the described patch. Fixes #8358 Test Plan: Built Electron and verified it loaded the sample app correctly and that the module wrapper is the new one by viewing Node's source code in the Blink Inspector. Added specs and tested with `npm test -- --grep "global variables"`
2017-01-11 03:29:22 +00:00
module
.
exports
=
process
Reference in a new issue
Copy permalink