diff --git a/test/_files/nested_higher_order_sections.js b/test/_files/nested_higher_order_sections.js new file mode 100644 index 0000000..3ccf4d3 --- /dev/null +++ b/test/_files/nested_higher_order_sections.js @@ -0,0 +1,8 @@ +({ + bold: function () { + return function (text, render) { + return '' + render(text) + ''; + }; + }, + person: { name: 'Jonas' } +}); diff --git a/test/_files/nested_higher_order_sections.mustache b/test/_files/nested_higher_order_sections.mustache new file mode 100644 index 0000000..e312fe7 --- /dev/null +++ b/test/_files/nested_higher_order_sections.mustache @@ -0,0 +1 @@ +{{#bold}}{{#person}}My name is {{name}}!{{/person}}{{/bold}} diff --git a/test/_files/nested_higher_order_sections.txt b/test/_files/nested_higher_order_sections.txt new file mode 100644 index 0000000..0ee6a40 --- /dev/null +++ b/test/_files/nested_higher_order_sections.txt @@ -0,0 +1 @@ +My name is Jonas!