mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-13 00:58:12 +00:00
update data saving to block.writeData
This commit is contained in:
parent
12c527e0b4
commit
eaf6219fa5
@ -143,7 +143,7 @@
|
|||||||
"stimulus_2": trial.b_path,
|
"stimulus_2": trial.b_path,
|
||||||
"key_press": e.which
|
"key_press": e.which
|
||||||
};
|
};
|
||||||
block.data[block.trial_idx] = $.extend({}, trial_data, trial.data);
|
block.writeData($.extend({}, trial_data, trial.data));
|
||||||
$(document).unbind('keydown', resp_func);
|
$(document).unbind('keydown', resp_func);
|
||||||
|
|
||||||
display_element.html('');
|
display_element.html('');
|
||||||
|
Loading…
Reference in New Issue
Block a user