URL of experiment: https://run.pavlovia.org/RL/repro_error_emptytxt
Hi all,
I noticed an issue with the Builder to JS tranlation when running on pavlovia: when having an empty text routine, the experiment is not working on pavlovia with a similar error as in https://discourse.psychopy.org/t/experiment-stuck-initializing-the-experiment/13149=.
From the JS debug mode, it seems to be the following out of place comma poses the problem but I don’t experience using JS:
function experimentInit() {
// Initialize components for Routine "trial"
trialClock = new util.Clock();
text = new visual.TextStim({
win: psychoJS.window,
name: 'text',
text: /* */
,
font: 'Arial',
units: undefined,
pos: [0, 0], height: 0.1, wrapWidth: undefined, ori: 0,
color: new util.Color('white'), opacity: 1,
depth: 0.0
});
- Is the experiment stuck on initializing due to this comma out of place? How to fix it?
- I use empty texts in my experiment to span the time occurring between trials, is there another way of doing it?