Hey! I decided to try out a simple script in kotli...
# webassembly
t
Hey! I decided to try out a simple script in kotlin/wasm and it’s working, but I am calling a function in an onChange event callback and getting an error saying Uncaught ReferenceError: convertStrings is not defined. The function still seems to run though, but when developing this error appears as an overlay on the screen. Curious if I’m doing something wrong or if this is a bug. I also tried converting the project to kotlin/js and am having the same issue. 🧵
1
This is the code I’m working with: https://github.com/dronda-t/quotify-kotlin-wasm
And the error overlay
r
You have
oninput
and
onchange
event handlers in your
index.html
file.
👍 1
t
Omg I'm an idiot thank you. I really appreciate you taking a look. That's what I get for blindly copying over my old code.