asarfuckery/electronasar/development/browser/api/screen.js
2019-01-17 19:22:05 +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