mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-10 11:10:54 +00:00
add trial duration to example code
This commit is contained in:
parent
74f950b751
commit
a26a3c7cec
@ -32,6 +32,7 @@ var trial = {
|
|||||||
|
|
||||||
var feedback = {
|
var feedback = {
|
||||||
type: jsPsychHtmlKeyboardResponse,
|
type: jsPsychHtmlKeyboardResponse,
|
||||||
|
trial_duration: 1000,
|
||||||
stimulus: function(){
|
stimulus: function(){
|
||||||
// The feedback stimulus is a dynamic parameter because we can't know in advance whether
|
// The feedback stimulus is a dynamic parameter because we can't know in advance whether
|
||||||
// the stimulus should be 'correct' or 'incorrect'.
|
// the stimulus should be 'correct' or 'incorrect'.
|
||||||
|
Loading…
Reference in New Issue
Block a user