6 lines
176 B
JavaScript
6 lines
176 B
JavaScript
const EventEmitter = require('events').EventEmitter;
|
|
const screen = process.atomBinding('screen').screen;
|
|
|
|
screen.__proto__ = EventEmitter.prototype;
|
|
|
|
module.exports = screen;
|