mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
7 lines
172 B
JavaScript
7 lines
172 B
JavaScript
const EventEmitter = require('events').EventEmitter
|
|
const screen = process.atomBinding('screen').screen
|
|
|
|
screen.__proto__ = EventEmitter.prototype
|
|
|
|
module.exports = screen
|