use Object.setPrototypeOf() instead of __proto__
This commit is contained in:
parent
963d46e46b
commit
5b7587bb7e
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ function Application() {
|
|||
* Inherit from `Emitter.prototype`.
|
||||
*/
|
||||
|
||||
Application.prototype.__proto__ = Emitter.prototype;
|
||||
Object.setPrototypeOf(Application.prototype, Emitter.prototype);
|
||||
|
||||
/**
|
||||
* Shorthand for:
|
||||
|
|
Loading…
Reference in a new issue