refactor: EventEmitters without gin_helper (#22726)

This commit is contained in:
Jeremy Apthorp 2020-03-18 12:57:08 -07:00 committed by GitHub
parent fc661ec56b
commit 232ca8af39
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 277 additions and 49 deletions

View file

@ -578,10 +578,6 @@ WebContents.prototype._init = function () {
})
}
// JavaScript wrapper of Debugger.
const { Debugger } = process.electronBinding('debugger')
Object.setPrototypeOf(Debugger.prototype, EventEmitter.prototype)
// Public APIs.
module.exports = {
create (options = {}) {