mirror of
https://github.com/electron/electron.git
synced 2026-01-24 14:57:58 -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;
|