electron/atom/browser/api/lib/power-monitor.coffee
2014-04-17 17:13:17 +08:00

6 lines
191 B
CoffeeScript

powerMonitor = process.atomBinding('power_monitor').powerMonitor
EventEmitter = require('events').EventEmitter
powerMonitor.__proto__ = EventEmitter.prototype
module.exports = powerMonitor