Skip to content
Myr

delete unused variables

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Vitaly · committed by Vitaly · parent af5e38c · Browse files · 2 files+3 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+3 added−4 removed

  • other:+3 added−4 removed

2 files+3 added−4 removed

modified:lib/application.js+2 added-4 removed
43 unmodified lines
44 * @api private45 */4647app.defaultConfiguration = function(){48 var self = this;4948 // default settings49 this.enable('x-powered-by');50 this.set('env', process.env.NODE_ENV || 'development');51 debug('booting in %s mode', this.get('env'));
48 unmodified lines
100 * @api public101 */102103app.use = function(route, fn){106 var app, handle;104 var app;105106 // default route to '/'107 if ('string' != typeof route) fn = route, route = '/';108
292 unmodified lines
401 */402403methods.forEach(function(method){404 app[method] = function(path){407 if ('get' == method && 1 == arguments.length) return this.set(path); 405 if ('get' == method && 1 == arguments.length) return this.set(path);406 var args = [method].concat([].slice.call(arguments));407 if (!this._usedRouter) this.use(this.router);408 this._router.route.apply(this._router, args);409 return this;
121 unmodified lines
modified:.gitignore+1 added
14 unmodified lines
15testing16.coverage_data17cover_html18test.js19.idea