Skip to content
Myr

more partial examples

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 b70bde5 · Browse files · 2 files+6 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

2 files+6 added−1 removed

  • other:+6 added−1 removed

2 files+6 added−1 removed

modified:examples/partials/views/ninjas/victim/index.jade+5 added-1 removed
1li.victim= victim1// this is insane overkill, I do not recommend2// doing tiny partials like this as it gets expensive3// with collections, however this illustrates the new4// partial lookup mechanism5!= partial('../../li', { object: victim, as: 'value' })
added:examples/partials/views/li.jade+1 added
1li= value