mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-12 08:38:11 +00:00
clean formatting, remove redundant data
This commit is contained in:
parent
2c33d7603d
commit
2d9af8dfa9
@ -58,8 +58,7 @@
|
||||
src: trial.a_path,
|
||||
id: 'jspsych-single-stim-stimulus'
|
||||
}));
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
display_element.append($('<div>', {
|
||||
html: trial.a_path,
|
||||
id: 'jspsych-single-stim-stimulus'
|
||||
@ -84,8 +83,6 @@
|
||||
|
||||
// gather the data to store for the trial
|
||||
var trial_data = {
|
||||
"trial_type": "single-stim",
|
||||
"trial_index": block.trial_idx,
|
||||
"rt": info.rt,
|
||||
"stimulus": trial.a_path,
|
||||
"key_press": info.key
|
||||
@ -101,8 +98,7 @@
|
||||
setTimeout(function() {
|
||||
block.next();
|
||||
}, trial.timing_post_trial);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
block.next();
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user