diff --git a/examples/array_partial.2.html b/examples/array_partial.2.html new file mode 100644 index 0000000..80d1d09 --- /dev/null +++ b/examples/array_partial.2.html @@ -0,0 +1,6 @@ +Here's a non-sense array of values + +{{%IMPLICIT-ITERATOR}} +{{#array}} + {{.}} +{{/array}} \ No newline at end of file diff --git a/examples/array_partial.html b/examples/array_partial.html new file mode 100644 index 0000000..7a336fe --- /dev/null +++ b/examples/array_partial.html @@ -0,0 +1 @@ +{{>partial}} \ No newline at end of file diff --git a/examples/array_partial.js b/examples/array_partial.js new file mode 100644 index 0000000..88d7592 --- /dev/null +++ b/examples/array_partial.js @@ -0,0 +1,5 @@ +var partial_context = { + partial: { + array: ['1', '2', '3', '4'] + } +}; \ No newline at end of file diff --git a/examples/array_partial.txt b/examples/array_partial.txt new file mode 100644 index 0000000..376d219 --- /dev/null +++ b/examples/array_partial.txt @@ -0,0 +1,6 @@ +Here's a non-sense array of values + + 1 + 2 + 3 + 4 \ No newline at end of file