mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
All native objects have prototype now
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
const EventEmitter = require('events').EventEmitter
|
||||
const autoUpdater = process.atomBinding('auto_updater').autoUpdater
|
||||
|
||||
Object.setPrototypeOf(autoUpdater, EventEmitter.prototype)
|
||||
Object.setPrototypeOf(autoUpdater.__proto__, EventEmitter.prototype)
|
||||
|
||||
module.exports = autoUpdater
|
||||
|
||||
Reference in New Issue
Block a user