Skip to content
Myr

Few jade changes to partials example

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 57d87c2 · Browse files · 6 files+10 added−9 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

6 files+10 added−9 removed

  • other:+10 added−9 removed

6 files+10 added−9 removed

deleted:examples/partials/views/ninjas/_victim_name.jade-1 removed
1li!= victimName
modified:examples/partials/views/ninjas/_weapon.jade+1 added-1 removed
1li!= weapon1li.weapon= weapon
modified:examples/partials/views/ninjas/show.jade+3 added-2 removed
1h1!= ninja.name1h1= ninja.name23// file, partial name, and partial object all match ('summary')4// the partial filename prefix '_' is completely optional5#summary!= partial('summary', ninja.summary)67// file, partial name = '_weapon', resolves to 'weapon' object within partial8#weapons9 h2 Weapons9 ul!= partial('_weapon', ninja.weapons)10 ul!= partial('weapon', ninja.weapons)11 12// partial name 'victim_name' resolves to '_victim_name.jade' file and 'victimName' object13#victims14 h2 Victims
1 unmodified line
modified:examples/partials/views/ninjas/summary.jade+3 added-3 removed
1h2 Summary2p!= summary.email3p!= summary.description4p!= 'taught by master ' + summary.master2p= summary.email3p= summary.description4p taught by master #{summary.master}
added:examples/partials/views/ninjas/victim_name.jade+1 added
1li.victim= victimName
modified:examples/partials/app.js+2 added-2 removed