ded / script.js

Asyncronous JavaScript loader and dependency manager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

martynbiz opened this issue · comments

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

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