mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-12 08:38:11 +00:00
protect check_fn in normalizeTrialVariables
This commit is contained in:
parent
a8f2a676e6
commit
55ebe2f413
@ -56,7 +56,7 @@ Example Usage:
|
||||
// if any trial variables are functions
|
||||
// this evaluates the function and replaces
|
||||
// it with the output of the function
|
||||
// trial = jsPsych.normalizeTrialVariables(trial);
|
||||
trial = jsPsych.normalizeTrialVariables(trial, ["check_fn"]);
|
||||
|
||||
var url = trial.url;
|
||||
if (trial.force_refresh) {
|
||||
|
Loading…
Reference in New Issue
Block a user