use Object.setPrototypeOf() instead of __proto__

master
Jonathan Ong 2015-02-01 16:39:44 -08:00
parent 963d46e46b
commit 5b7587bb7e
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ function Application() {
* Inherit from `Emitter.prototype`.
*/
Application.prototype.__proto__ = Emitter.prototype;
Object.setPrototypeOf(Application.prototype, Emitter.prototype);
/**
* Shorthand for: