Starting a test for blocks and inline partials.
This commit is contained in:
parent
afda9ce22f
commit
c09bedd94b
0
js/test_cases/block_simple/README.md
Normal file
0
js/test_cases/block_simple/README.md
Normal file
1
js/test_cases/block_simple/base.dust
Normal file
1
js/test_cases/block_simple/base.dust
Normal file
@ -0,0 +1 @@
|
|||||||
|
The block content is from {+inject/}
|
4
js/test_cases/block_simple/input1.json
Normal file
4
js/test_cases/block_simple/input1.json
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
{"people": [
|
||||||
|
{"name": "Alice", "item": "cat"},
|
||||||
|
{"name": "Bob"}
|
||||||
|
]}
|
3
js/test_cases/block_simple/main.dust
Normal file
3
js/test_cases/block_simple/main.dust
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{<inject}Before Partial{/inject}
|
||||||
|
{>"base"/}
|
||||||
|
{<inject}After Partial{/inject}
|
Loading…
Reference in New Issue
Block a user