fix: remove my example

This commit is contained in:
Sven SAULEAU 2018-03-12 11:42:00 +01:00
parent 1ff76a5bb1
commit eeb2fd0c96
No known key found for this signature in database
GPG Key ID: F5464AC83B687AD1
3 changed files with 0 additions and 26 deletions

View File

@ -1 +0,0 @@
export const two = 2;

View File

@ -1,3 +0,0 @@
export function logFoo() {
console.log("log foo");
}

View File

@ -1,22 +0,0 @@
// Before transformation:
//
// (module
// (import "./b" "logFoo" (func $a))
// (import "./a" "two" (global i32))
// (func (export "getTwo") (result i32)
// (get_global 0)
// )
// (func (export "logFoo")
// (call $a)
// )
// )
//
// ----
//
// After transformation:
//
import("./test.wasm").then(({getTwo, logFoo}) => {
console.log("getTwo", getTwo());
console.log(logFoo());
})