remove unnecessary .bind()

This commit is contained in:
TJ Holowaychuk 2013-09-08 09:37:33 -07:00
parent 42f5aa1e61
commit 67b49cf82d

View file

@ -33,7 +33,7 @@ exports = module.exports = Application;
function Application() { function Application() {
if (!(this instanceof Application)) return new Application; if (!(this instanceof Application)) return new Application;
this.env = process.env.NODE_ENV || 'development'; 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.outputErrors = 'test' != this.env;
this.subdomainOffset = 2; this.subdomainOffset = 2;
this.poweredBy = true; this.poweredBy = true;