aboutsummaryrefslogtreecommitdiffstats
path: root/tests/template/templates/includejs.html
diff options
context:
space:
mode:
authorVjacheslav Trushkin <cyberalien@gmail.com>2013-07-10 11:43:52 -0400
committerVjacheslav Trushkin <cyberalien@gmail.com>2013-07-10 11:43:52 -0400
commit9725eb19f8dbc124febe0189799c0b2af0215c63 (patch)
tree33a29f5ab0cf1527b9daa38ed8123a412e8659cb /tests/template/templates/includejs.html
parent0894a1377013965657f29a42202a630ba83daf95 (diff)
downloadforums-9725eb19f8dbc124febe0189799c0b2af0215c63.tar
forums-9725eb19f8dbc124febe0189799c0b2af0215c63.tar.gz
forums-9725eb19f8dbc124febe0189799c0b2af0215c63.tar.bz2
forums-9725eb19f8dbc124febe0189799c0b2af0215c63.tar.xz
forums-9725eb19f8dbc124febe0189799c0b2af0215c63.zip
[feature/twig] Unit tests for includejs
PHPBB3-11598
Diffstat (limited to 'tests/template/templates/includejs.html')
-rw-r--r--tests/template/templates/includejs.html15
1 files changed, 14 insertions, 1 deletions
diff --git a/tests/template/templates/includejs.html b/tests/template/templates/includejs.html
index 229f1ccc19..dd7b059f12 100644
--- a/tests/template/templates/includejs.html
+++ b/tests/template/templates/includejs.html
@@ -1,8 +1,21 @@
<!-- INCLUDEJS parent_and_child.js -->
+<!-- INCLUDEJS parent_and_child.js?assets_version=0 -->
+<!-- INCLUDEJS parent_and_child.js?test=1&assets_version=0 -->
+<!-- INCLUDEJS parent_and_child.js?test=1&amp;assets_version=0 -->
+<!-- INCLUDEJS parent_and_child.js?test=1;assets_version=0 -->
<!-- INCLUDEJS {PARENT} -->
<!-- DEFINE $TEST = 'child_only.js' -->
<!-- INCLUDEJS {$TEST} -->
<!-- INCLUDEJS subdir/{PARENT} -->
<!-- INCLUDEJS {SUBDIR}/subsubdir/{PARENT} -->
<!-- INCLUDEJS {SUBDIR}/parent_only.{EXT} -->
-{$SCRIPTS}
+<!-- DEFINE $TEST = 'child_only.js?test1=1&amp;test2=2#test3' -->
+<!-- INCLUDEJS {$TEST} -->
+<!-- INCLUDEJS parent_only.js?test1=1&amp;test2=2#test3 -->
+<!-- INCLUDEJS parent_only.js?test1=1;test2=2#test3 -->
+<!-- INCLUDEJS parent_only.js?test1=&quot;#test3 -->
+<!-- INCLUDEJS //phpbb.com/b.js -->
+<!-- INCLUDEJS http://phpbb.com/b.js?c=d#f -->
+<!-- INCLUDEJS http://phpbb.com/b.js?c=d&assets_version=1#f -->
+<!-- INCLUDEJS //[1234:d123:a105::123]/test.js -->
+{SCRIPTS}