You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
<!doctype html>
|
|
<html lang="en-US">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<title>hello-wasm example</title>
|
|
</head>
|
|
<body>
|
|
<script type="module">
|
|
import init, { roll } from "./pkg/roll_lib.js";
|
|
init().then(() => {
|
|
console.log(roll("1d20"));
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|
|
|