Skip to content
Myr

Added missing files

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 33136c6 · Browse files · 3 files+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

3 files+4 added−1 removed

  • tests:+3 added−0 removed
  • other:+1 added−1 removed

3 files+4 added−1 removed

modified:lib/express/view.js+1 added-1 removed
126 unmodified lines
127 }128129 // Allow collection to be passed as second param130 if (options) {131 if (options.hasOwnProperty('length')) {131 if ('length' in options) {132 options = { collection: options };133 } else if (!options.collection && !options.locals && !options.object) {134 options = { object: options };135 }
197 unmodified lines
added:test/fixtures/partials/greetings.jade+1 added
1p Welcome #{name}
added:test/fixtures/greetings.jade+2 added
1h1= name2!= partial('greetings', { locals: { name: otherName }})