-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
8 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,9 +5,8 @@ | |
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
|
||
<script defer src="https://unpkg.com/[email protected]/dist/browser.js"></script> | ||
|
||
<script type="module" nonce="hoBtIVij8IZO4IPtFkyoMA=="> | ||
<script type="module" nonce="BgbnQ8qaBhr8heMofTWBlQ=="> | ||
import init, * as bindings from '/secret-leptos-b98ea99ef209074.js'; | ||
const wasm = await init('/secret-leptos-b98ea99ef209074_bg.wasm'); | ||
|
||
|
@@ -18,14 +17,12 @@ | |
dispatchEvent(new CustomEvent("TrunkApplicationStarted", {detail: {wasm}})); | ||
|
||
</script> | ||
<link rel="icon" href="/favicon-e9cbd8f50cc65bf2.ico" integrity="sha384-YobgLXwtz0GhXVUTHml49p32guapVFlEG8UpQdDVN3kekOqkQi+qSXEpwp+yM4BW"/> | ||
<link rel="stylesheet" href="/input-1e281e73305a75dd.css" integrity="sha384-oetCHYGBfUNM84kyFcBMXGp8djsTF4YBWZK4mg1yjqBxJgfjTVf+aqfZN7+6Tzkf"/> | ||
<!-- <link data-trunk rel="scss" href="style/main.scss" /> --> | ||
|
||
|
||
<link rel="icon" href="/favicon-e9cbd8f50cc65bf2.ico"/> | ||
<link rel="stylesheet" href="/input-1e281e73305a75dd.css"/> | ||
|
||
<script> | ||
function checkResourcesLoaded() { | ||
if (window.myWasmIsReady && window.secretjs) { | ||
if (window.myWasmIsReady) { | ||
removeElement("elementToRemove"); | ||
} else { | ||
setTimeout(checkResourcesLoaded, 100); | ||
|
@@ -41,9 +38,7 @@ | |
checkResourcesLoaded(); | ||
}); | ||
</script> | ||
|
||
<link rel="modulepreload" href="/secret-leptos-b98ea99ef209074.js" crossorigin=anonymous integrity="sha384-nNAoXF5j5ZRhnCf+zN8u3ItutlpVCwpW65uKjczZv7ILrGJlyhDokPbiXuIOvOu6"> | ||
<link rel="preload" href="/secret-leptos-b98ea99ef209074_bg.wasm" crossorigin=anonymous integrity="sha384-17Jd8VxNw4WFPBDfPTvtC7jaLvCKa8SvyB6v2s9Wn4cb/DfPZyXb89JZmbm9tzMv" as="fetch" type="application/wasm"></head> | ||
</head> | ||
|
||
<style> | ||
.spinner { | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,16 +5,13 @@ | |
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
|
||
<script defer src="https://unpkg.com/[email protected]/dist/browser.js"></script> | ||
<link data-trunk rel="rust" data-wasm-opt="z" /> | ||
<link data-trunk rel="icon" type="image/ico" href="public/favicon.ico" /> | ||
<link data-trunk rel="tailwind-css" href="input.css" /> | ||
<!-- <link data-trunk rel="scss" href="style/main.scss" /> --> | ||
<link data-trunk rel="copy-file" href="public/robots.txt" /> | ||
<link data-trunk rel="copy-dir" href="public/js/" /> | ||
|
||
<script> | ||
function checkResourcesLoaded() { | ||
if (window.myWasmIsReady && window.secretjs) { | ||
if (window.myWasmIsReady) { | ||
removeElement("elementToRemove"); | ||
} else { | ||
setTimeout(checkResourcesLoaded, 100); | ||
|