initial commit; version 22.5.12042
This commit is contained in:
11
tests/templates/section_objects/SectionObjects.php
Normal file
11
tests/templates/section_objects/SectionObjects.php
Normal file
@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
$arr = array('start' => "It worked the first time.",
|
||||
|
||||
'middle' => TRUE,
|
||||
'foo' => 'And it worked the second time.',
|
||||
'bar' => 'As well as the third.',
|
||||
|
||||
'final' => "Then, surprisingly, it worked the final time.");
|
||||
|
||||
echo json_encode($arr);
|
1
tests/templates/section_objects/section_objects.json
Normal file
1
tests/templates/section_objects/section_objects.json
Normal file
@ -0,0 +1 @@
|
||||
{"start":"It worked the first time.","middle":true,"foo":"And it worked the second time.","bar":"As well as the third.","final":"Then, surprisingly, it worked the final time."}
|
6
tests/templates/section_objects/section_objects.mustache
Normal file
6
tests/templates/section_objects/section_objects.mustache
Normal file
@ -0,0 +1,6 @@
|
||||
* {{ start }}
|
||||
{{# middle }}
|
||||
* {{ foo }}
|
||||
* {{ bar }}
|
||||
{{/ middle }}
|
||||
* {{ final }}
|
4
tests/templates/section_objects/section_objects.txt
Normal file
4
tests/templates/section_objects/section_objects.txt
Normal file
@ -0,0 +1,4 @@
|
||||
* It worked the first time.
|
||||
* And it worked the second time.
|
||||
* As well as the third.
|
||||
* Then, surprisingly, it worked the final time.
|
Reference in New Issue
Block a user