Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<script type="module"> is also javascript context #220

Merged
merged 1 commit into from Mar 24, 2020
Merged

Commits on Mar 20, 2020

  1. element script with type="module" is also javascript context

    <script type="module">//…</script> would by also be Javascript context ( Compiler::CONTEXT_HTML_JS )
    
    attribute type="module" on script elementy is necessary for using dynamic javascript import ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import )
    iiic committed Mar 20, 2020
    Copy the full SHA
    75a9eba View commit details
    Browse the repository at this point in the history