duster/js/test_cases/explicit_context_setting/other.dust
Tom Alexander 1152ff9974
Greatly expand the explicit_context_setting test.
Turns out explicit context setting works in a lot more places than the official dustjs pages indicate. Also some things don't make much sense (like setting it on a block works but not on an inline partial).
2020-05-24 18:16:16 -04:00

2 lines
66 B
Plaintext

{$idx}: {person.name} has a pet {pet} but not a {some_global}{~n}