[ticket/11388] INCLUDEJS test for //(url)

PHPBB3-11388
This commit is contained in:
Nathaniel Guse 2013-07-11 08:44:48 -05:00
parent 99c7483ade
commit 648e1e51fa
2 changed files with 6 additions and 0 deletions

View file

@ -84,6 +84,10 @@ class phpbb_template_template_includejs_test extends phpbb_template_template_tes
array('TEST' => 16),
'<script type="text/javascript" src="http://phpbb.com/b.js?c=d&assets_version=1&assets_version=1#f"></script>',
),
array(
array('TEST' => 17),
'<script type="text/javascript" src="//phpbb.com/b.js?assets_version=1"></script>',
),
);
}

View file

@ -32,5 +32,7 @@
<!-- INCLUDEJS http://phpbb.com/b.js?c=d#f -->
<!-- ELSEIF TEST === 16 -->
<!-- INCLUDEJS http://phpbb.com/b.js?c=d&assets_version=1#f -->
<!-- ELSEIF TEST === 17 -->
<!-- INCLUDEJS //phpbb.com/b.js -->
<!-- ENDIF -->
{$SCRIPTS}