ded / script.js

Asyncronous JavaScript loader and dependency manager
MIT License
2.95k stars 340 forks source link

How to set attributes and data-* attributes with $script? #120

Open martynbiz opened 2 years ago

martynbiz commented 2 years ago

For example, I want the appended script tag to be:

<script src="js/app.js" cross-origin="anonymous" integrity="..." data-something="peanut butter">