Added doctype

pull/6/head
Mark 2023-09-21 14:12:10 -07:00
parent fc2027c657
commit 3fd489dd7e
Signed by: Mark
GPG Key ID: AD62BB059C2AAEE4
1 changed files with 4 additions and 3 deletions

View File

@ -1,3 +1,5 @@
<!DOCTYPE html>
<html> <html>
<head> <head>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type"/> <meta content="text/html;charset=utf-8" http-equiv="Content-Type"/>
@ -52,7 +54,7 @@
box-sizing: box; box-sizing: box;
border: 0mm; border: 0mm;
box-shadow: 0px 0px 10px 4px #4d5257; box-shadow: 0px 0px 10px 4px #3c4044;
} }
#header { #header {
@ -98,8 +100,7 @@
<script type="module"> <script type="module">
// See wasm-pack docs // See wasm-pack docs
// Build with `wasm-pack build --release --target web` // Build with `wasm-pack build --release --target web --out-dir site/pkg`
// Works with wasm-pack 0.9.1. Some other versions give a segfault.
import init, { daisy_init, daisy_free, daisy_char, daisy_prompt } from './pkg/daisycalc.js'; import init, { daisy_init, daisy_free, daisy_char, daisy_prompt } from './pkg/daisycalc.js';
await init(); await init();