5 ms·
with using someting like headjs, you have some pros : - you don't have to put tons of <script> tag on your template. just pass the parameters to headjs* - you
by devmach 15y ago
with using someting like headjs, you have some pros :
- you don't have to put tons of <script> tag on your template. just pass the parameters to headjs*
- you can load js files and "after" run some function and this function hasn't have to be in another js file or document.ready(). you can do this operations any time after full page load.
* Ok, i know : one should compress and merge javascript files..