From 132b32b2879b7317eee332f17c7e3ee5bdbc6a7f Mon Sep 17 00:00:00 2001 From: Tejas Manohar Date: Tue, 13 Oct 2015 02:17:47 -0500 Subject: [PATCH] get rid of instanceof hack in application constructor --- lib/application.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/application.js b/lib/application.js index 738b896..a51a2a1 100644 --- a/lib/application.js +++ b/lib/application.js @@ -39,7 +39,6 @@ module.exports = class Application extends Emitter { constructor() { super(); - if (!(this instanceof Application)) return new Application; this.env = process.env.NODE_ENV || 'development'; this.subdomainOffset = 2; this.middleware = [];