Optimize remote.require('electron')

This commit is contained in:
Cheng Zhao 2015-11-12 20:30:40 +08:00
parent 1d1f911b09
commit 8b2942c279
4 changed files with 38 additions and 4 deletions

View file

@ -4,7 +4,7 @@ Object.defineProperties exports,
# Must be enumerable, otherwise it woulde be invisible to remote module.
enumerable: true
get: -> require '../clipboard'
crashRepoter:
crashReporter:
enumerable: true
get: -> require '../crash-reporter'
nativeImage: