update picking example for web
This commit is contained in:
@@ -2,19 +2,6 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<!--
|
||||
If you are serving your web app in a path other than the root, change the
|
||||
href value below to reflect the base path you are serving from.
|
||||
|
||||
The path provided below has to start and end with a slash "/" in order for
|
||||
it to work correctly.
|
||||
|
||||
For more details:
|
||||
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base
|
||||
|
||||
This is a placeholder for base href that will be replaced by the value of
|
||||
the `--base-href` argument provided to `flutter build`.
|
||||
-->
|
||||
<base href="$FLUTTER_BASE_HREF">
|
||||
|
||||
<meta charset="UTF-8">
|
||||
@@ -37,12 +24,17 @@
|
||||
const serviceWorkerVersion = null;
|
||||
</script>
|
||||
<script src="flutter.js" defer></script>
|
||||
|
||||
|
||||
<script type="text/javascript" src="./thermion_dart.js"></script>
|
||||
<script type="module">
|
||||
try {
|
||||
window.thermion_dart = await thermion_dart();
|
||||
} catch(err) {
|
||||
console.error(err);
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<canvas id="canvas"></canvas>
|
||||
<div id="flutter-container"></div>
|
||||
<script type="text/javascript">
|
||||
window.addEventListener('load', function (ev) {
|
||||
|
||||
@@ -1 +1 @@
|
||||
../../../assets/thermion_dart.js
|
||||
../../../../thermion_dart/native/web/build/build/out/thermion_dart.js
|
||||
@@ -1 +1 @@
|
||||
../../../assets/thermion_dart.wasm
|
||||
../../../../thermion_dart/native/web/build/build/out/thermion_dart.wasm
|
||||
Reference in New Issue
Block a user