Compare commits
5 Commits
ci/add-che
...
d98222cd4a
Author | SHA1 | Date | |
---|---|---|---|
d98222cd4a | |||
c6effdfa15
|
|||
f17986fa16 | |||
cc65e7d5ff
|
|||
1f42eaa37c |
@@ -220,25 +220,5 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<script type="module" async>
|
|
||||||
import init from "{base_path}/wasm/beau-gosse-du-92.js";
|
|
||||||
|
|
||||||
// Ensure that everything needed to render preloader has been downloaded
|
|
||||||
// before fetching the wasm bundle.
|
|
||||||
window.onload=function() {
|
|
||||||
init("{base_path}/wasm/beau-gosse-du-92_bg.wasm").then(
|
|
||||||
wasm => {
|
|
||||||
const preloader = document.getElementById("preloader");
|
|
||||||
if (preloader !== undefined) {
|
|
||||||
preloader.style.display = 'none';
|
|
||||||
}
|
|
||||||
|
|
||||||
if (wasm.__wbindgen_start == undefined) {
|
|
||||||
wasm.main();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
);
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -214,6 +214,11 @@ input {
|
|||||||
font-family: inherit;
|
font-family: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Hide the preloader as soon as the application is loaded and ready to be rendered
|
||||||
|
#preloader {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
#main {
|
#main {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
Reference in New Issue
Block a user