You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Both browser examples
issue an error message in browser's developer console:
simple.html:
Uncaught TypeError: Symbol.dispose is not defined.
at pt (quickJS.js:10:40)
at evalCode (quickJS.js:148:43)
at simple.html:17:21
(anonymous) @ simple.html:17
playground.html:
After Run Code button click.
TypeError: Symbol.dispose is not defined.
at pt (quickJS.js:10:40)
at evalCode (quickJS.js:148:43)
at HTMLButtonElement.<anonymous> (playground.html:129:35)
(anonymous) @ playground.html:132
To Reproduce
Steps to reproduce the behavior:
Clone the repo, cd into browser examples folder, start a simple web server:
git clone --depth=1 https://github.com/sebastianwessel/quickjs.git
cd quickjs/example/browser
python3 -m http.server
Describe the bug
Both browser examples
issue an error message in browser's developer console:
simple.html:
playground.html:
After
Run Code
button click.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Expected the examples to work: obtain the meaningfull text output in devconsole or playground's output box.
Expected no errors.
Screenshots
N/A
Desktop (please complete the following information):
Tested in Chromium 124.0.6367 and in Firefox 122.0.1 .
Smartphone (please complete the following information):
N/A
Additional context
N/A
BTW, thank you for this cool library!
The text was updated successfully, but these errors were encountered: