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

39 lines
777 B
JavaScript
Raw Normal View History

2016-01-14 22:11:50 +00:00
const common = require('../../../../common/api/lib/exports/electron');
2016-01-12 02:40:23 +00:00
2016-01-14 18:35:29 +00:00
// Import common modules.
2016-01-12 02:40:23 +00:00
common.defineProperties(exports);
Object.defineProperties(exports, {
2016-01-14 18:35:29 +00:00
// Renderer side modules, please sort with alphabet order.
2016-01-12 02:40:23 +00:00
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');
}
}
});