chore: there is no need to define _init (#22882)

This commit is contained in:
Cheng Zhao 2020-04-01 06:50:03 +09:00 committed by GitHub
parent 4ba91c938e
commit d74ad631e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 16 deletions

View file

@ -1,11 +1,5 @@
'use strict';
const { EventEmitter } = require('events');
const { View } = process.electronBinding('view');
Object.setPrototypeOf(View.prototype, EventEmitter.prototype);
View.prototype._init = function () {
};
module.exports = View;