I've never seen it used like this before:
<script src="{{ file.name_js }}"></script>
Is this better?
This is something from a templating engine, such as Smarty or similar.
Everything between the brackets {{
}}
is handled server-side, likely so that the script files can be minified server-side easily and the file name be updated to the minified version, or something from a variable.
looks like somekind of a templating language Django has the same kind of tags for example.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With