clean formatting, remove redundant data

This commit is contained in:
Josh de Leeuw 2014-09-09 08:36:39 -04:00
parent 2c33d7603d
commit 2d9af8dfa9

View File

@ -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();
}
};