Skip to content

Commit 70dc7f8

Browse files
committed
chore: updated tetanes-web
1 parent 9bf2fdf commit 70dc7f8

File tree

4 files changed

+3232
-2920
lines changed

4 files changed

+3232
-2920
lines changed

web/public/tetanes-web/index.html

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
/>
2121

2222
<base href="./" />
23-
<style nonce="gOx6d/JwPDJYKhVhXM4a7w==">@font-face {
23+
<style>@font-face {
2424
font-family: "Pixeloid Sans";
2525
src:
2626
local("Pixeloid Sans"),
@@ -186,17 +186,12 @@
186186

187187

188188

189-
<script type="module" nonce="O2R04/5RhAVfIXuDYT0jpw==">
190-
async function __trunkInitializer(init, source, sourceSize, initializer) {
189+
<script type="module">
190+
async function __trunkInitializer(init, source, sourceSize, initializer, initWithObject) {
191191
if (initializer === undefined) {
192-
return await init(source);
192+
return await init(initWithObject ? { module_or_path: source } : source);
193193
}
194194

195-
return await __trunkInitWithProgress(init, source, sourceSize, initializer);
196-
}
197-
198-
async function __trunkInitWithProgress(init, source, sourceSize, initializer) {
199-
200195
const {
201196
onStart, onProgress, onComplete, onSuccess, onFailure
202197
} = initializer;
@@ -244,7 +239,7 @@
244239
new Response(stream, init),
245240
);
246241

247-
return init(response)
242+
return init(initWithObject ? { module_or_path: response } : response)
248243
.then((value) => {
249244
onComplete?.();
250245
onSuccess?.(value);
@@ -257,10 +252,10 @@
257252
}
258253

259254

260-
import init, * as bindings from './tetanes-4b562d32961c37db.js';
255+
import init, * as bindings from './tetanes-7b0e45c2cfce910d.js';
261256
import initializer from './804ea45b79221f1b-initializer.js';
262257

263-
const wasm = await __trunkInitializer(init, './tetanes-4b562d32961c37db_bg.wasm', 10917831, initializer());
258+
const wasm = await __trunkInitializer(init, './tetanes-7b0e45c2cfce910d_bg.wasm', 12026530, initializer(), true);
264259

265260

266261
window.wasmBindings = bindings;
@@ -269,10 +264,7 @@
269264
dispatchEvent(new CustomEvent("TrunkApplicationStarted", {detail: {wasm}}));
270265

271266
</script>
272-
273-
<link rel="modulepreload" href="./tetanes-4b562d32961c37db.js" crossorigin=anonymous integrity="sha384-ALE+usP60oaqU4rqVw8GU7BZgHcJ9RX5wY1FTvuFxqwuZ1ien7ryx9ou6qdbhq7s">
274-
<link rel="modulepreload" href="./804ea45b79221f1b-initializer.js" crossorigin=anonymous integrity="sha384-TuyQGUQmZhgL5sM46eLG3xUJDF87F+xb9Jib6UmahoLNebXfhdZ+fEOAsJVGi64v">
275-
<link rel="preload" href="./tetanes-4b562d32961c37db_bg.wasm" crossorigin=anonymous integrity="sha384-TM5gUzpFT8/e3vIkwzKAjETeVBw/flbb/6oes0KAIGJOWEoAsrif+XTmvZbCOynk" as="fetch" type="application/wasm"></head>
267+
<link rel="modulepreload" href="./tetanes-7b0e45c2cfce910d.js" crossorigin="anonymous" integrity="sha384-jzfu2W6t6ueGdgfovTsRjrtcN85BRLiUzwcCY6QfMuFWj7ECz8ywVYmxOgtJRSzk"><link rel="modulepreload" href="./804ea45b79221f1b-initializer.js" crossorigin="anonymous" integrity="sha384-TuyQGUQmZhgL5sM46eLG3xUJDF87F+xb9Jib6UmahoLNebXfhdZ+fEOAsJVGi64v"><link rel="preload" href="./tetanes-7b0e45c2cfce910d_bg.wasm" crossorigin="anonymous" integrity="sha384-zlIpFRGqd57SOy+3mV3LzLhYdrSSDuUnDM7EuYGAhcy9yTa5T4WYpzJNUVikGAx6" as="fetch" type="application/wasm"></head>
276268
<body>
277269
<noscript>
278270
This page contains WebAssembly and Javascript content, please enable

0 commit comments

Comments
 (0)