I have this code:
<% require javascript("$themeDir/javascript/bl.js") %>
Doesn't work. Nothing gets included.
If I replace the $themeDir by the actual themedir, e.g. "themes/themename", then it does work. This also works:
<script src="$ThemeDir/javascript/bl.js"></script>
Why not in a require?