electron/atom/browser/api/lib/power-monitor.js

10 lines
229 B
JavaScript
Raw Normal View History

2016-01-12 02:40:23 +00:00
var EventEmitter, powerMonitor;
EventEmitter = require('events').EventEmitter;
powerMonitor = process.atomBinding('power_monitor').powerMonitor;
powerMonitor.__proto__ = EventEmitter.prototype;
module.exports = powerMonitor;