electron/atom/renderer/api/lib/exports/electron.js
Jessica Lord ab8908a4af Use const
2016-01-14 14:41:46 -08:00

38 lines
777 B
JavaScript

const common = require('../../../../common/api/lib/exports/electron');
// Import common modules.
common.defineProperties(exports);
Object.defineProperties(exports, {
// Renderer side modules, please sort with alphabet order.
desktopCapturer: {
enumerable: true,
get: function() {
return require('../desktop-capturer');
}
},
ipcRenderer: {
enumerable: true,
get: function() {
return require('../ipc-renderer');
}
},
remote: {
enumerable: true,
get: function() {
return require('../remote');
}
},
screen: {
enumerable: true,
get: function() {
return require('../screen');
}
},
webFrame: {
enumerable: true,
get: function() {
return require('../web-frame');
}
}
});