Skip to content

Commit

Permalink
change default option for choices parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
jodeleeuw committed May 1, 2014
1 parent e8b11ed commit 8267154
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/jspsych-vsl-animate-occlusion.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8267154

Please sign in to comment.