mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Add "electron" module
This commit is contained in:
15
atom/common/api/lib/exports/electron.coffee
Normal file
15
atom/common/api/lib/exports/electron.coffee
Normal file
@@ -0,0 +1,15 @@
|
||||
Object.defineProperties exports,
|
||||
# Common modules, please sort with alphabet order.
|
||||
clipboard:
|
||||
# Must be enumerable, otherwise it woulde be invisible to remote module.
|
||||
enumerable: true
|
||||
get: -> require '../clipboard'
|
||||
crashRepoter:
|
||||
enumerable: true
|
||||
get: -> require '../crash-reporter'
|
||||
nativeImage:
|
||||
enumerable: true
|
||||
get: -> require '../native-image'
|
||||
shell:
|
||||
enumerable: true
|
||||
get: -> require '../shell'
|
||||
Reference in New Issue
Block a user