Skip to content

feat: Add script_attribute to add_js function

Elodie Thiéblin requested to merge topic/default/addjs-defer-async into branch/default

fix #210 (closed) This will allow to specify a script as "defer" or "async" Note: If a script is added twice with different attributes, only the first call to add this script will be taken into account.

However, this may not be a major issue because a script which needs to be added with a given script attribute, one can assume it should always be called with that attribute.

Merge request reports