thorvg / thorvg.viewer

ThorVG Viewer is a browser-based rendering tool that shows you the image result of vector resource formats, such as SVG and Lottie. It's powered by the ThorVG engine.
https://www.thorvg.org
MIT License
18 stars 7 forks source link

Initial console bug #21

Closed tinyjin closed 5 months ago

tinyjin commented 6 months ago
Screenshot 2023-12-15 at 1 26 32 PM

Depending on latency of wasm loading, if wasm loaded after call anonymous function(main.js:47), console causes error.

Should sync with onRuntimeInitialized event.