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
I tried copying the following line from the readme, into my HTML, to pick where binaries are read from:
let wasmterm = new WasmWebTerm("./binaries")
But, I get the output:
Uncaught TypeError: WasmWebTerm is not a constructor
<anonymous> http://localhost:8080/wasm-webterm.html:16
[wasm-webterm.html:16:28](http://localhost:8080/wasm-webterm.html)
<anonymous> http://localhost:8080/wasm-webterm.html:16
I'm not a javascript expert, so sorry if this is obvious.
The text was updated successfully, but these errors were encountered:
Did you load it via script tag or import it as a module? If you loaded it via a script tag directly in your browser (like in Variant 1 of the Usage section in the Readme), it may work to add .default to it:
I tried copying the following line from the readme, into my HTML, to pick where binaries are read from:
But, I get the output:
I'm not a javascript expert, so sorry if this is obvious.
The text was updated successfully, but these errors were encountered: