electron/atom/browser/api/lib/auto-updater/auto-updater-native.js
Jessica Lord 9103253f62 Use const
2016-01-14 14:26:10 -08:00

6 lines
202 B
JavaScript

const EventEmitter = require('events').EventEmitter;
const autoUpdater = process.atomBinding('auto_updater').autoUpdater;
autoUpdater.__proto__ = EventEmitter.prototype;
module.exports = autoUpdater;