Add another testing proving that inline partials can occur before the block definition.
This commit is contained in:
parent
353a04064e
commit
d93602d686
1
js/test_cases/block_before/base.dust
Normal file
1
js/test_cases/block_before/base.dust
Normal file
@ -0,0 +1 @@
|
||||
The block content is from {+inject/}
|
4
js/test_cases/block_before/input1.json
Normal file
4
js/test_cases/block_before/input1.json
Normal file
@ -0,0 +1,4 @@
|
||||
{"people": [
|
||||
{"name": "Alice", "item": "cat"},
|
||||
{"name": "Bob"}
|
||||
]}
|
2
js/test_cases/block_before/main.dust
Normal file
2
js/test_cases/block_before/main.dust
Normal file
@ -0,0 +1,2 @@
|
||||
{<inject}Before Partial{/inject}
|
||||
{>"base"/}
|
Loading…
x
Reference in New Issue
Block a user