add trial duration to example code

This commit is contained in:
Josh de Leeuw 2023-05-11 10:08:11 -04:00
parent 74f950b751
commit a26a3c7cec

View File

@ -32,6 +32,7 @@ var trial = {
var feedback = {
type: jsPsychHtmlKeyboardResponse,
trial_duration: 1000,
stimulus: function(){
// The feedback stimulus is a dynamic parameter because we can't know in advance whether
// the stimulus should be 'correct' or 'incorrect'.