Simplify how remote.require('electron') is optimized
This commit is contained in:
parent
9bf0a8647e
commit
099278855c
3 changed files with 3 additions and 18 deletions
|
@ -1,9 +1,6 @@
|
|||
# Import common modules.
|
||||
module.exports = require '../../../../common/api/lib/exports/electron'
|
||||
|
||||
v8Util = process.atomBinding 'v8_util'
|
||||
v8Util.setHiddenValue module.exports, 'electronModule', true
|
||||
|
||||
Object.defineProperties module.exports,
|
||||
# Browser side modules, please sort with alphabet order.
|
||||
app:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue