Skip to content
Myr

removed old cacheViewSync()

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 77fa09a · Browse files · 1 file+0 added−12 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+0 added−12 removed

  • other:+0 added−12 removed

1 file+0 added−12 removed

modified:lib/express/view.js-12 removed
177 unmodified lines
178 }).join('');179};180181/**182 * Synchronously cache view at the given `path`.183 *184 * @param {String} path185 * @return {String}186 * @api private187 */188189function cacheViewSync(path) {190 return viewCache[path] = fs.readFileSync(path, 'utf8');191}192193/**182 * Return object name deduced from the given `view` path.183 *184 * Examples:185 *
252 unmodified lines