diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2026-10-09 13:51:51 +0200 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2026-10-09 13:51:51 +0200 |
| commit | 09e8d4548361ece6151b914709c39e254eba65e3 (patch) | |
| tree | 5a6038dd219110c53e699109e03a5490260c3560 /src/z/App/main.js | |
| parent | d0f90548f5edb32225af4a1f79413a2a56d186c8 (diff) | |
framework: use js symbol for object tagging
Diffstat (limited to 'src/z/App/main.js')
| -rw-r--r-- | src/z/App/main.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/z/App/main.js b/src/z/App/main.js index 183e544..265c886 100644 --- a/src/z/App/main.js +++ b/src/z/App/main.js @@ -26,10 +26,10 @@ async function wasm_handle_event(target, name, event, pass_event) { if (pass_event) { const id = ObjectStore.generateFreeId(); ObjectStore.registerObject(id, event); - wasm.exports[name](component["@ptr"], id); + wasm.exports[name](component[ZsPtr], id); ObjectStore.free(event); } else { - wasm.exports[name](component["@ptr"]); + wasm.exports[name](component[ZsPtr]); } } |