mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-21 09:58:11 +08:00
Add init function to wasm-bindings crate and update dependencies (#33)
This commit is contained in:
@@ -1,3 +1 @@
|
||||
const wasm = import("./pkg");
|
||||
|
||||
wasm.then((binding) => binding.greet()).catch(console.error);
|
||||
import("./pkg");
|
||||
|
||||
Reference in New Issue
Block a user