asarfuckery/electronasar/canary/browser/api/screen.js
2019-02-06 21:27:58 +01:00

10 lines
260 B
JavaScript

'use strict'
const { EventEmitter } = require('events')
const { screen, Screen } = process.atomBinding('screen')
// Screen is an EventEmitter.
Object.setPrototypeOf(Screen.prototype, EventEmitter.prototype)
EventEmitter.call(screen)
module.exports = screen