aboutsummaryrefslogtreecommitdiffstats
path: root/tests/template/templates
diff options
context:
space:
mode:
authorNathaniel Guse <nathaniel.guse@gmail.com>2013-07-01 12:26:01 -0500
committerNathaniel Guse <nathaniel.guse@gmail.com>2013-07-01 12:26:01 -0500
commit6c30441ad4a20fe4f154d5a859b9df0f28cbc8e0 (patch)
tree5a8fa3f36e722c4c350640cef3e74a1f920b47f9 /tests/template/templates
parente9bbeeb1a4c7d1c4b1d35848ff58f31af4483d07 (diff)
downloadforums-6c30441ad4a20fe4f154d5a859b9df0f28cbc8e0.tar
forums-6c30441ad4a20fe4f154d5a859b9df0f28cbc8e0.tar.gz
forums-6c30441ad4a20fe4f154d5a859b9df0f28cbc8e0.tar.bz2
forums-6c30441ad4a20fe4f154d5a859b9df0f28cbc8e0.tar.xz
forums-6c30441ad4a20fe4f154d5a859b9df0f28cbc8e0.zip
[feature/twig] Changing INCLUDEJS behavior slightly
Automatically parsing inline variables the same way it is done for INCLUDE, INCLUDEPHP PHPBB3-11598
Diffstat (limited to 'tests/template/templates')
-rw-r--r--tests/template/templates/includejs.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/template/templates/includejs.html b/tests/template/templates/includejs.html
index eca6e90637..ef73700eeb 100644
--- a/tests/template/templates/includejs.html
+++ b/tests/template/templates/includejs.html
@@ -1,8 +1,8 @@
-<!-- INCLUDEJS 'parent_and_child.js' -->
-<!-- INCLUDEJS PARENT -->
+<!-- INCLUDEJS parent_and_child.js -->
+<!-- INCLUDEJS {PARENT} -->
<!-- DEFINE $TEST = 'child_only.js' -->
-<!-- INCLUDEJS TEST -->
-<!-- INCLUDEJS 'subdir/' ~ PARENT -->
-<!-- INCLUDEJS SUBDIR ~ '/subsubdir/' ~ PARENT -->
-<!-- INCLUDEJS SUBDIR ~ '/parent_only.' ~ EXT -->
+<!-- INCLUDEJS {$TEST} -->
+<!-- INCLUDEJS subdir/{PARENT} -->
+<!-- INCLUDEJS {SUBDIR}/subsubdir/{PARENT} -->
+<!-- INCLUDEJS {SUBDIR}/parent_only.{EXT} -->
{SCRIPTS}