You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have following line in my html: <script type = "module" src = "./src/main.js"></script>
the lines: var loadJS = function (data) { if (data) { var script = document.createElement('script'); script.innerHTML = data; document.body.appendChild(script); } };
import my main.js without the type set on module. Why the type of script is ignored?
The text was updated successfully, but these errors were encountered:
I have following line in my html:
<script type = "module" src = "./src/main.js"></script>
the lines:
var loadJS = function (data) { if (data) { var script = document.createElement('script'); script.innerHTML = data; document.body.appendChild(script); } };
import my main.js without the type set on module. Why the type of script is ignored?
The text was updated successfully, but these errors were encountered: