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
Currently, if the users click on the "Run" button before the demo sketch appears, they get the following error:
Uncaught TypeError: window.runSketchCode is not a function
runCode https://berinhard.github.io/pyp5js/pyodide/:104
<anonymous> https://berinhard.github.io/pyp5js/pyodide/:124
jQuery 2
But when the sketch starts to run, the run button gets back to work properly. It's probable that issue #189 will make it easier to implement this feature.
The text was updated successfully, but these errors were encountered:
@jvfe I think what you're suggesting is very reasonable. Maybe we can add an else condition to the executeBtn logic to display an alert box with a message like: "Pyodide is still loading. Please, wait a few seconds and try to run it again."
Currently, if the users click on the "Run" button before the demo sketch appears, they get the following error:
But when the sketch starts to run, the run button gets back to work properly. It's probable that issue #189 will make it easier to implement this feature.
The text was updated successfully, but these errors were encountered: