remove unnecessary .bind()

master
TJ Holowaychuk 2013-09-08 09:37:33 -07:00
parent 42f5aa1e61
commit 67b49cf82d
1 changed files with 1 additions and 1 deletions

View File

@ -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;