asarfuckery/electronasar/canary/browser/api/screen.js
2019-07-02 01:00:17 +02:00

8 lines
No EOL
301 B
JavaScript

'use strict';
const { EventEmitter } = require('events');
const { screen, Screen } = process.electronBinding('screen');
// Screen is an EventEmitter.
Object.setPrototypeOf(Screen.prototype, EventEmitter.prototype);
EventEmitter.call(screen);
module.exports = screen;
//# sourceMappingURL=screen.js.map