Remove type=module from no-modules example (#2184)

We're not using ES modules, so use just a normal script!

Closes #2182
This commit is contained in:
Alex Crichton 2020-06-03 11:39:18 -05:00 committed by GitHub
commit 36dcbb8066
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@
<!-- Include the JS generated by `wasm-pack build` --> <!-- Include the JS generated by `wasm-pack build` -->
<script src='pkg/without_a_bundler_no_modules.js'></script> <script src='pkg/without_a_bundler_no_modules.js'></script>
<script type=module> <script>
// Like with the `--target web` output the exports are immediately // Like with the `--target web` output the exports are immediately
// available but they won't work until we initialize the module. Unlike // available but they won't work until we initialize the module. Unlike
// `--target web`, however, the globals are all stored on a // `--target web`, however, the globals are all stored on a