remove unnecessary .bind()
This commit is contained in:
parent
42f5aa1e61
commit
67b49cf82d
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue