Skip to content

Commit

Permalink
Remove type=module from no-modules example
Browse files Browse the repository at this point in the history
We're not using ES modules, so use just a normal script!

Closes rustwasm#2182
  • Loading branch information
alexcrichton committed Jun 3, 2020
1 parent 1076065 commit b56233a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/without-a-bundler-no-modules/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<!-- Include the JS generated by `wasm-pack build` -->
<script src='pkg/without_a_bundler_no_modules.js'></script>

<script type=module>
<script>
// Like with the `--target web` output the exports are immediately
// available but they won't work until we initialize the module. Unlike
// `--target web`, however, the globals are all stored on a
Expand Down

0 comments on commit b56233a

Please sign in to comment.