Skip to content
Myr

misc refactoring

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

authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent bed5157 · Browse files · 1 file+1 added−1 removed
This commit

State

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

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:lib/express/server.js+1 added-1 removed
318 unmodified lines
319Server.prototype.configure = function(env, fn){320 if (typeof env === 'function') {321 fn = env, env = 'all';322 }323 if (env === 'all' || this.set('env') === env) {323 if ('all' == env || env == this.settings.env) {324 fn.call(this);325 }326 return this;327};
37 unmodified lines