electron/lib/renderer/api/exports/electron.js
2016-03-08 11:14:22 -08:00

38 lines
770 B
JavaScript

const common = require('../../../common/api/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');
}
}
});