mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-10 11:10:54 +00:00
fixing naming issue in survey-text
This commit is contained in:
parent
17deebeee4
commit
35880b0bba
@ -21,7 +21,7 @@
|
||||
var trials = [];
|
||||
for (var i = 0; i < params.questions.length; i++) {
|
||||
trials.push({
|
||||
type: "survey_text",
|
||||
type: "survey-text",
|
||||
questions: params.questions[i],
|
||||
data: (typeof params.data === 'undefined') ? {} : params.data[i]
|
||||
});
|
||||
@ -69,7 +69,7 @@
|
||||
|
||||
// save data
|
||||
block.writeData($.extend({}, {
|
||||
"trial_type": "survey_text",
|
||||
"trial_type": "survey-text",
|
||||
"trial_index": block.trial_idx,
|
||||
"rt": response_time
|
||||
}, question_data, trial.data));
|
||||
|
Loading…
Reference in New Issue
Block a user