duster/js/test_cases/walk_up/main.dust

13 lines
418 B
Plaintext
Raw Normal View History

Directory for {company}:{~n}
{#people}
{name}: {job} at {company} (email: {globals.email}){~n}
Testing walking after entering a parent context {#globals}job: {job}, email: {email}, company: {company}{/globals}{~n}
{/people}
Doing a deep walk to see if intermediate steps are added to the dynamic context.{~n}
{#deep_people}
{#deep_globals.things}
{name} has a {color} {item}{~n}
{/deep_globals.things}
{/deep_people}