From 67b49cf82d1947163e083d89a262416ddd39f9fc Mon Sep 17 00:00:00 2001 From: TJ Holowaychuk Date: Sun, 8 Sep 2013 09:37:33 -0700 Subject: [PATCH] remove unnecessary .bind() --- lib/application.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/application.js b/lib/application.js index fb766f5..646d97f 100644 --- a/lib/application.js +++ b/lib/application.js @@ -33,7 +33,7 @@ exports = module.exports = Application; function Application() { if (!(this instanceof Application)) return new Application; this.env = process.env.NODE_ENV || 'development'; - this.on('error', this.onerror.bind(this)); + this.on('error', this.onerror); this.outputErrors = 'test' != this.env; this.subdomainOffset = 2; this.poweredBy = true;