All native objects have prototype now
This commit is contained in:
parent
8cd4612fe0
commit
6e0cde5b24
9 changed files with 12 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue