Merge branch 'v8' into core-rewrite

This commit is contained in:
Josh de Leeuw 2023-09-22 16:56:31 -04:00 committed by GitHub
commit 7339dfcac3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,8 +46,10 @@ const trial = {
We've added some better error support for `evaluateTimelineVariable()` so that it will throw an error if there's no corresponding timeline variable to evaluate.
We've removed support for `jsPsych.getAllTimelineVariables()` and replaced it with the trial-level property `save_timeline_variables`.
If you need to save all the timeline variables of a trial to jsPsych's data, you can set `save_timeline_variables: true` in the trial.
## Trial parameters
We've made some trial parameters more strict to improve the maintainability of the library.