Skip to content

Commit

Permalink
Rebuild github page
Browse files Browse the repository at this point in the history
  • Loading branch information
lynnagara committed Apr 16, 2019
1 parent eed65b5 commit fd25124
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
3 changes: 1 addition & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@
</head>
<body>
<script type="module">
import { init_app, default as init } from './pkg/d0.js';
import { default as init } from './pkg/d0.js';
async function run() {
await init('./pkg/d0_bg.wasm');
init_app()
}
run();
</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/pkg/d0.js
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ function init(module_or_path, maybe_memory) {
return result.then(({instance, module}) => {
wasm = instance.exports;
init.__wbindgen_wasm_module = module;
wasm.__wbindgen_start();

return wasm;
});
}
Expand Down
Binary file modified docs/pkg/d0_bg.wasm
Binary file not shown.
2 changes: 2 additions & 0 deletions pkg/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# draw-app
In browser drawing app built in rust / wasm

[Try it out here!](https://www.lynnagara.com/draw-app/)

![Image](https://raw.githubusercontent.com/lynnagara/draw-app/master/img.png)

0 comments on commit fd25124

Please sign in to comment.