Move javascript examples directory under wasm

This commit is contained in:
freestrings
2020-02-15 00:56:07 +09:00
parent ffd87cfbe4
commit bab2ff38f7
11 changed files with 174 additions and 89 deletions

5
wasm/examples/browser/bootstrap.js vendored Normal file
View File

@ -0,0 +1,5 @@
// A dependency graph that contains any wasm must all be imported
// asynchronously. This `bootstrap.js` file does the single async import, so
// that no one else needs to worry about it again.
import("./index.js")
.catch(e => console.error("Error importing `index.js`:", e));