electron/lib/browser/api/screen.js

11 lines
260 B
JavaScript
Raw Normal View History

'use strict'
2018-09-13 16:10:51 +00:00
const { EventEmitter } = require('events')
const { screen, Screen } = process.atomBinding('screen')
2016-01-12 02:40:23 +00:00
// Screen is an EventEmitter.
2016-08-02 11:38:35 +00:00
Object.setPrototypeOf(Screen.prototype, EventEmitter.prototype)
EventEmitter.call(screen)
2016-01-12 02:40:23 +00:00
module.exports = screen