Skip to content

Commit

Permalink
deploy: ea00aab
Browse files Browse the repository at this point in the history
  • Loading branch information
avan1235 committed Jan 30, 2024
0 parents commit 22162db
Show file tree
Hide file tree
Showing 18 changed files with 1,241 additions and 0 deletions.
Empty file added .nojekyll
Empty file.
3 changes: 3 additions & 0 deletions 135.js

Large diffs are not rendered by default.

35 changes: 35 additions & 0 deletions 135.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
/*
* @copyright (c) 2016, Philipp Thürwächter & Pattrick Hüper
* @copyright (c) 2007-present, Stephen Colebourne & Michael Nascimento Santos
* @license BSD-3-Clause (see LICENSE in the root directory of this source tree)
*/

/*
* @copyright (c) 2016, Philipp Thürwächter & Pattrick Hüper
* @license BSD-3-Clause (see LICENSE in the root directory of this source tree)
*/

/*
* @copyright (c) 2016, Philipp Thürwächter, Pattrick Hüper
* @copyright (c) 2007-present, Stephen Colebourne & Michael Nascimento Santos
* @license BSD-3-Clause (see LICENSE in the root directory of this source tree)
*/

/**
* @copyright (c) 2016, Philipp Thürwächter & Pattrick Hüper
* @copyright (c) 2007-present, Stephen Colebourne & Michael Nascimento Santos
* @license BSD-3-Clause (see LICENSE in the root directory of this source tree)
*/

/**
* @copyright (c) 2016, Philipp Thürwächter & Pattrick Hüper
* @license BSD-3-Clause (see LICENSE in the root directory of this source tree)
*/

//! @copyright (c) 2007-present, Stephen Colebourne & Michael Nascimento Santos

//! @copyright (c) 2015-present, Philipp Thürwächter, Pattrick Hüper & js-joda contributors

//! @license BSD-3-Clause (see LICENSE in the root directory of this source tree)

//! @version @js-joda/core - 3.2.0
1 change: 1 addition & 0 deletions 135.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions 366.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions 366.js.map

Large diffs are not rendered by default.

Binary file added 58c97d5c0661070cab69.wasm
Binary file not shown.
2 changes: 2 additions & 0 deletions META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Manifest-Version: 1.0

Binary file added favicon.ico
Binary file not shown.
Binary file added font/leckerlione_regular.ttf
Binary file not shown.
79 changes: 79 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">

<title>Mini Games</title>
<script type="application/javascript" src="skiko.js"></script>
<script type="application/javascript" src="minigameswasmapp.js"></script>
<style>
html, body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
background-color: white;
overflow: hidden;
}

#warning {
position: absolute;
top: 100px;
left: 100px;
max-width: 830px;
z-index: 100;
background-color: white;
font-size: initial;
display: none;
}
#warning li {
padding-bottom: 15px;
}

#warning span.code {
font-family: monospace;
}

ul {
margin-top: 0;
margin-bottom: 15px;
}
</style>
</head>
<body>
<canvas id="minigamesCanvas"></canvas>

<div id="warning">
⚠️ Please make sure that your runtime environment supports the latest version of Wasm GC and Exception-Handling proposals.
For more information, see <a href="https://kotl.in/wasm-help">https://kotl.in/wasm-help</a>.
<br/>
<br/>
<ul>
<li>For <b>Chrome</b> and <b>Chromium-based</b> browsers (Edge, Brave etc.), it <b>should just work</b> since version 119.</li>
<li>For <b>Firefox</b> 120 it <b>should just work</b>.</li>
<li>For <b>Firefox</b> 119:
<ol>
<li>Open <span class="code">about:config</span> in the browser.</li>
<li>Enable <strong>javascript.options.wasm_gc</strong>.</li>
<li>Refresh this page.</li>
</ol>
</li>
</ul>
</div>
</body>

<script type="application/javascript" >
const unhandledError = (event, error) => {
if (error instanceof WebAssembly.CompileError) {
document.getElementById("warning").style.display="initial";

// Hide a Scary Webpack Overlay which is less informative in this case.
const webpackOverlay = document.getElementById("webpack-dev-server-client-overlay");
if (webpackOverlay != null) webpackOverlay.style.display="none";
}
}
addEventListener("error", (event) => unhandledError(event, event.error));
addEventListener("unhandledrejection", (event) => unhandledError(event, event.reason));
</script>

</html>
5 changes: 5 additions & 0 deletions load.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { instantiate } from './minigameswasmapp.uninstantiated.mjs';

await wasmSetup;

instantiate({ skia: Module['asm'] });
2 changes: 2 additions & 0 deletions minigameswasmapp.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions minigameswasmapp.js.map

Large diffs are not rendered by default.

Binary file added minigameswasmapp.wasm
Binary file not shown.
87 changes: 87 additions & 0 deletions skiko.js

Large diffs are not rendered by default.

1,023 changes: 1,023 additions & 0 deletions skiko.mjs

Large diffs are not rendered by default.

Binary file added skiko.wasm
Binary file not shown.

0 comments on commit 22162db

Please sign in to comment.