nateyolles / aem-clientlib-async

Create AEM clientlibs that can output 'async', 'defer' and 'onload' attributes on your HTML script elements.
http://www.nateyolles.com/blog/2016/06/custom-aem-html5-async-clientlibs
Apache License 2.0
49 stars 23 forks source link

Add type to script element #1

Closed davidtruchet closed 5 years ago

davidtruchet commented 7 years ago

@nateyolles, I end-up doing this change for a project that I'm working right now. This is useful when you have a rewriter on AEM that re write all js files, most of them are based on the type of the scrip element. One example is the versioned ClientLib feature that ACS Commons provide. I hope this make sense to you. :)