mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-12 08:38:11 +00:00
parent
6f10c190c5
commit
940c5580f8
@ -55,7 +55,6 @@
|
||||
// it with the output of the function
|
||||
trial = jsPsych.pluginAPI.normalizeTrialVariables(trial);
|
||||
|
||||
|
||||
xab_trial_complete = false;
|
||||
|
||||
// how we display the content depends on whether the content is
|
||||
@ -76,9 +75,7 @@
|
||||
setTimeout(function() {
|
||||
showBlankScreen();
|
||||
}, trial.timing_x);
|
||||
break;
|
||||
|
||||
// the second part of the trial is the gap between X and AB.
|
||||
|
||||
function showBlankScreen() {
|
||||
// remove the x stimulus
|
||||
@ -90,7 +87,6 @@
|
||||
}, trial.timing_xab_gap);
|
||||
}
|
||||
|
||||
// the third part of the trial is to display A and B, and get the subject's response
|
||||
|
||||
function showSecondStimulus() {
|
||||
|
||||
@ -182,7 +178,6 @@
|
||||
jsPsych.pluginAPI.getKeyboardResponse(after_response, [trial.left_key, trial.right_key], 'date', false);
|
||||
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
return plugin;
|
||||
|
Loading…
Reference in New Issue
Block a user