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
If you run decode immediately after creating the WebpMachine, in some browsers this will cause an error like: Module.asm is undefined. This is because the wasm module is still loading. I fixed this in my code by adding a short delay after creating WebpMachine, however it would be cleaner if there was a way (such as promise/callback) to ensure the module has loaded, or force the decode function to wait.
I will attempt to look into this when I have time.
The text was updated successfully, but these errors were encountered:
i'll add: hopefully i'll have some time in the next couple weeks to merge conditionally, and either investigate this particular issue and/or review any contributions. cheers 🍻
If you run
decode
immediately after creating theWebpMachine
, in some browsers this will cause an error like:Module.asm is undefined
. This is because the wasm module is still loading. I fixed this in my code by adding a short delay after creating WebpMachine, however it would be cleaner if there was a way (such as promise/callback) to ensure the module has loaded, or force the decode function to wait.I will attempt to look into this when I have time.
The text was updated successfully, but these errors were encountered: