mirror of
https://github.com/jquery/jquery.git
synced 2024-10-05 11:34:18 +00:00
e4de8b4626
PR #3869 added support for `<script type="module">` & some support for the `nomodule` attribute but with no tests for `nomodule` and with the attribute only respected on inline scripts. This commit adds support for source-based scripts as well. It also adds tests for `nomodule`, including making sure legacy browsers execute such scripts as they'd natively do - that's the whole point of `nomodule` scripts, after all. Fixes gh-4281 Closes gh-4282 Ref gh-3871 Ref gh-3869
2 lines
80 B
JavaScript
2 lines
80 B
JavaScript
window.ok( !QUnit.moduleTypeSupported, "evaluated: nomodule script with src" );
|