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
{{ message }}
Repository navigation
Preview a html with javascript type set on module. #117
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?
Activity