Skip to content
Myr

Removed instanceof Array check

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 5f59303 · 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/view.js+1 added-1 removed
145 unmodified lines
146 view += ext;147 }148149 // Allow collection to be passed as second param150 if (options instanceof Array) {150 if (Array.isArray(options)) {151 options = { collection: options };152 }153154 // Defaults
158 unmodified lines