Allow skipping data logging for a trial with record_data: false
#1332
Annotations
4 errors
The record_data parameter › Can be set to false to prevent the data from being recorded:
packages/jspsych/src/JsPsych.ts#L360
TypeError: Cannot set properties of undefined (setting 'time_elapsed')
at Object.trial [as onTrialResultAvailable] (src/JsPsych.ts:360:1)
at Trial.run (src/timeline/Trial.ts:52:1)
at Timeline.run (src/timeline/Timeline.ts:85:1)
at JsPsych.run (src/JsPsych.ts:144:1)
|
The record_data parameter › Can be set as a timeline variable:
packages/jspsych/src/JsPsych.ts#L360
TypeError: Cannot set properties of undefined (setting 'time_elapsed')
at Object.trial [as onTrialResultAvailable] (src/JsPsych.ts:360:1)
at Trial.run (src/timeline/Trial.ts:52:1)
at Timeline.run (src/timeline/Timeline.ts:85:1)
at Timeline.run (src/timeline/Timeline.ts:85:1)
at JsPsych.run (src/JsPsych.ts:144:1)
|
The record_data parameter › Can be set as a function:
packages/jspsych/src/JsPsych.ts#L360
TypeError: Cannot set properties of undefined (setting 'time_elapsed')
at Object.trial [as onTrialResultAvailable] (src/JsPsych.ts:360:1)
at Trial.run (src/timeline/Trial.ts:52:1)
at Timeline.run (src/timeline/Timeline.ts:85:1)
at JsPsych.run (src/JsPsych.ts:144:1)
|
Build, lint, and test on Node.js 18
Process completed with exit code 1.
|