electron/atom/renderer/api/lib/exports/electron.coffee

23 lines
565 B
CoffeeScript
Raw Normal View History

2015-12-17 14:03:16 +00:00
common = require '../../../../common/api/lib/exports/electron'
2015-11-12 08:28:22 +00:00
# Import common modules.
2015-12-17 14:03:16 +00:00
common.defineProperties exports
2015-11-12 08:28:22 +00:00
2015-12-17 14:03:16 +00:00
Object.defineProperties exports,
2015-11-12 08:28:22 +00:00
# Renderer side modules, please sort with alphabet order.
2015-12-08 04:44:55 +00:00
desktopCapturer:
enumerable: true
get: -> require '../desktop-capturer'
2015-11-12 08:28:22 +00:00
ipcRenderer:
enumerable: true
get: -> require '../ipc-renderer'
remote:
enumerable: true
get: -> require '../remote'
screen:
enumerable: true
get: -> require '../screen'
webFrame:
enumerable: true
get: -> require '../web-frame'