mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[feature/twig] Unit tests for includejs
PHPBB3-11598
This commit is contained in:
@@ -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&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&test2=2#test3' -->
|
||||
<!-- INCLUDEJS {$TEST} -->
|
||||
<!-- INCLUDEJS parent_only.js?test1=1&test2=2#test3 -->
|
||||
<!-- INCLUDEJS parent_only.js?test1=1;test2=2#test3 -->
|
||||
<!-- INCLUDEJS parent_only.js?test1="#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}
|
||||
|
Reference in New Issue
Block a user