electron/lib/browser/api/screen.js

7 lines
186 B
JavaScript
Raw Normal View History

const {EventEmitter} = require('events')
2016-08-02 20:38:35 +09:00
const {screen, Screen} = process.atomBinding('screen')
2016-01-11 18:40:23 -08:00
2016-08-02 20:38:35 +09:00
Object.setPrototypeOf(Screen.prototype, EventEmitter.prototype)
2016-01-11 18:40:23 -08:00
module.exports = screen