URL of experiment: https://pavlovia.org/VinVen/workingmemory
Description of the problem: Dear all, I wrote a working memory task using Psychopy3 Builder, in which I added a little bit of code through Code Component. The experiment reads a few .csv files but no external stimulus files. The experiment runs fine in Psychopy. After having Psychopy convert my .psyexp file to .js files in “html” folder, I updated the .js file by replacing “append” with “push”, the “random.shuffle” call with a JS randomization code and initialized variables globally that were somehow not automatically identified as such after auto-conversion from .py to .js (an issue that may be related to using the Code Component?). However, the Pilot gets stuck in “initialization” screen and fails to run. With my very limited JS powers I cannot find the offending code.
Hoping for your help, kind regards,