Skip to content

Commit 3771500

Browse files
authored
ezClip v0.4.2
ezClip v0.4.2
1 parent a4a85a1 commit 3771500

3 files changed

Lines changed: 10 additions & 8 deletions

File tree

ezclip.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1656,17 +1656,17 @@ function __wbg_get_imports() {
16561656
return ret;
16571657
},
16581658
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
1659-
// Cast intrinsic for `Closure(Closure { dtor_idx: 318, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 319, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1659+
// Cast intrinsic for `Closure(Closure { dtor_idx: 265, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 266, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
16601660
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h4893f8176444e179, wasm_bindgen__convert__closures_____invoke__h0a08298a9edea369);
16611661
return ret;
16621662
},
16631663
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
1664-
// Cast intrinsic for `Closure(Closure { dtor_idx: 318, function: Function { arguments: [NamedExternref("Event")], shim_idx: 319, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1664+
// Cast intrinsic for `Closure(Closure { dtor_idx: 265, function: Function { arguments: [NamedExternref("Event")], shim_idx: 266, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
16651665
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h4893f8176444e179, wasm_bindgen__convert__closures_____invoke__h0a08298a9edea369);
16661666
return ret;
16671667
},
16681668
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
1669-
// Cast intrinsic for `Closure(Closure { dtor_idx: 318, function: Function { arguments: [], shim_idx: 322, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1669+
// Cast intrinsic for `Closure(Closure { dtor_idx: 265, function: Function { arguments: [], shim_idx: 269, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
16701670
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h4893f8176444e179, wasm_bindgen__convert__closures_____invoke__hb2f593cf28920f35);
16711671
return ret;
16721672
},

ezclip_bg.wasm

41 Bytes
Binary file not shown.

index.html

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
<!-- config for our rust wasm binary. go to https://trunkrs.dev/assets/#rust for more customization -->
1313

1414
<script type="module">
15-
import init, * as bindings from '/ezclip.js';
16-
const wasm = await init({ module_or_path: '/ezclip_bg.wasm' });
15+
import init, * as bindings from '/ezclip/ezclip.js';
16+
const wasm = await init({ module_or_path: '/ezclip/ezclip_bg.wasm' });
1717

1818

1919
window.wasmBindings = bindings;
@@ -23,9 +23,9 @@
2323

2424
</script>
2525
<!-- this is the base url relative to which other urls will be constructed. trunk will insert this from the public-url option -->
26-
<base href="/" />
26+
<base href="/ezclip/" />
2727

28-
<link rel="icon" href="/favicon.ico" integrity="sha384-jNOAE6jgE03LznIulCTVP6BH4NrTuROFjP9wj8bV1UUMJKtZAvstFpIAP3PDcFpx"/>
28+
<link rel="icon" href="/ezclip/favicon.ico" integrity="sha384-jNOAE6jgE03LznIulCTVP6BH4NrTuROFjP9wj8bV1UUMJKtZAvstFpIAP3PDcFpx"/>
2929

3030

3131

@@ -45,6 +45,7 @@
4545
html {
4646
/* Remove touch delay: */
4747
touch-action: manipulation;
48+
/* touch-action: none; */
4849
}
4950

5051
body {
@@ -65,6 +66,7 @@
6566
html,
6667
body {
6768
overflow: hidden;
69+
/* overscroll-behavior: none; */
6870
margin: 0 !important;
6971
padding: 0 !important;
7072
height: 100%;
@@ -127,7 +129,7 @@
127129
}
128130
}
129131
</style>
130-
<link rel="modulepreload" href="/ezclip.js" crossorigin="anonymous" integrity="sha384-5REGtxfR9qco9L21jb7lMzt2UjPNJzjWmm78Wv215EGK7j08E/dJpVC100SAJCGy"><link rel="preload" href="/ezclip_bg.wasm" crossorigin="anonymous" integrity="sha384-yIgcXI0VIYon9xr1Lws2sLAftuqM4hFDFSNurzq/N79CcgZiSZDRoWr6pEI1H9Lm" as="fetch" type="application/wasm"></head>
132+
<link rel="modulepreload" href="/ezclip/ezclip.js" crossorigin="anonymous" integrity="sha384-DjiGaY5OXXJgjWIdhDl01dFOdYv577IZzKwGD7SFxqW6YUxdGSDPARQ+RZJDFHvg"><link rel="preload" href="/ezclip/ezclip_bg.wasm" crossorigin="anonymous" integrity="sha384-Qy6shfuHjBnpKB90zywmDmKkCWnDx7taAmwDLaV6v6Imb9BUTkCs7YHiyHoBtBBa" as="fetch" type="application/wasm"></head>
131133

132134
<body>
133135
<!-- The WASM code will resize the canvas dynamically -->

0 commit comments

Comments
 (0)