1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[feature/twig] Changing INCLUDEJS behavior slightly

Automatically parsing inline variables the same way it is done for
INCLUDE, INCLUDEPHP

PHPBB3-11598
This commit is contained in:
Nathaniel Guse
2013-07-01 12:26:01 -05:00
parent e9bbeeb1a4
commit 6c30441ad4
10 changed files with 15 additions and 14 deletions

View File

@@ -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}