mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-10 19:20:55 +00:00
change default option for choices parameter
This commit is contained in:
parent
e8b11ed94c
commit
8267154774
@ -39,7 +39,7 @@
|
||||
trials[0].image_size = params.image_size || [100, 100];
|
||||
trials[0].initial_direction = params.initial_direction || "left";
|
||||
trials[0].occlude_center = (typeof params.occlude_center === 'undefined') ? true : params.occlude_center;
|
||||
trials[0].choices = params.choices || [32]; // spacebar
|
||||
trials[0].choices = params.choices || []; // spacebar
|
||||
// timing
|
||||
trials[0].timing_post_trial = (typeof params.timing_post_trial === 'undefined') ? 1000 : params.timing_post_trial;
|
||||
trials[0].timing_pre_movement = (typeof params.timing_pre_movement === 'undefined') ? 500 : params.timing_pre_movement;
|
||||
|
Loading…
Reference in New Issue
Block a user