mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-10 19:20:55 +00:00
bug fix palmer
This commit is contained in:
parent
46f40222b7
commit
ff4ffcc287
@ -31,8 +31,8 @@
|
||||
circle_radius: params.circle_radius || 20,
|
||||
timing_item: params.timing_item || 1000,
|
||||
timing_post_trial: params.timing_post_trial || 1000,
|
||||
prompt: (params.prompt !== 'undefined') ? params.prompt : "",
|
||||
data: (params.data !== 'undefined') ? params.data[i] : {}
|
||||
prompt: (typeof params.prompt === 'undefined') ? "" : params.prompt,
|
||||
data: (typeof params.data === 'undefined') ? {} : params.data[i]
|
||||
};
|
||||
|
||||
trials.push(trial);
|
||||
|
Loading…
Reference in New Issue
Block a user