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 9914a1e · Browse files · 1 file+3 added−3 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+3 added−3 removed

  • other:+3 added−3 removed

1 file+3 added−3 removed

modified:lib/view.js+3 added-3 removed
164 unmodified lines
165 , viewOptions = app.set('view options')166 , cacheTemplates = app.set('cache views');167168 // merge "view options"169 if (viewOptions) options = merge(options, viewOptions);169 if (viewOptions) merge(options, viewOptions);170171 // merge res.locals172 if (this.locals) options = merge(options, this.locals);172 if (this.locals) merge(options, this.locals);173174 // merge render() options175 if (opts) options = merge(options, opts);175 if (opts) merge(options, opts);176177 // Defaults178 var self = this179 , root = app.settings.views || process.cwd() + '/views'
99 unmodified lines