Skip to content
Myr

keep duplicates out of view resolution hint

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 1c360a8 · Browse files · 1 file+4 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+4 added−1 removed

  • other:+4 added−1 removed

1 file+4 added−1 removed

modified:lib/view/view.js+4 added-1 removed
47 unmodified lines
48 this.extension = '.' + this.engine;49 this.name = this.basename.replace(this.extension, '');50 this.path = this.resolvePath();51 this.dirname = dirname(this.path);52 if (options.attempts) options.attempts.push(this.path);52 if (options.attempts) {53 if (!~options.attempts.indexOf(this.path))54 options.attempts.push(this.path);55 }56};5758/**59 * Check if the view path exists.
150 unmodified lines