change default option for choices parameter

This commit is contained in:
Josh de Leeuw 2014-05-01 13:58:32 -04:00
parent e8b11ed94c
commit 8267154774

View File

@ -39,7 +39,7 @@
trials[0].image_size = params.image_size || [100, 100]; trials[0].image_size = params.image_size || [100, 100];
trials[0].initial_direction = params.initial_direction || "left"; trials[0].initial_direction = params.initial_direction || "left";
trials[0].occlude_center = (typeof params.occlude_center === 'undefined') ? true : params.occlude_center; 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 // timing
trials[0].timing_post_trial = (typeof params.timing_post_trial === 'undefined') ? 1000 : params.timing_post_trial; 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; trials[0].timing_pre_movement = (typeof params.timing_pre_movement === 'undefined') ? 500 : params.timing_pre_movement;