diff --git a/js/test_cases/block_simple/README.md b/js/test_cases/block_simple/README.md new file mode 100644 index 0000000..e69de29 diff --git a/js/test_cases/block_simple/base.dust b/js/test_cases/block_simple/base.dust new file mode 100644 index 0000000..bf568c4 --- /dev/null +++ b/js/test_cases/block_simple/base.dust @@ -0,0 +1 @@ +The block content is from {+inject/} diff --git a/js/test_cases/block_simple/input1.json b/js/test_cases/block_simple/input1.json new file mode 100644 index 0000000..272dfa5 --- /dev/null +++ b/js/test_cases/block_simple/input1.json @@ -0,0 +1,4 @@ +{"people": [ + {"name": "Alice", "item": "cat"}, + {"name": "Bob"} +]} diff --git a/js/test_cases/block_simple/main.dust b/js/test_cases/block_simple/main.dust new file mode 100644 index 0000000..d269fb1 --- /dev/null +++ b/js/test_cases/block_simple/main.dust @@ -0,0 +1,3 @@ +{"base"/} +{