mirror of
https://github.com/electron/electron.git
synced 2026-01-25 07:18:18 -05:00
7 lines
176 B
JavaScript
7 lines
176 B
JavaScript
const EventEmitter = require('events').EventEmitter;
|
|
const screen = process.atomBinding('screen').screen;
|
|
|
|
screen.__proto__ = EventEmitter.prototype;
|
|
|
|
module.exports = screen;
|