From 55ebe2f413af476d29ccf0aa36367296d80ca57a Mon Sep 17 00:00:00 2001 From: Josh de Leeuw Date: Wed, 14 May 2014 15:14:08 -0400 Subject: [PATCH] protect check_fn in normalizeTrialVariables --- plugins/jspsych-html.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/jspsych-html.js b/plugins/jspsych-html.js index ff4f5ab9e3..b373c28f1c 100644 --- a/plugins/jspsych-html.js +++ b/plugins/jspsych-html.js @@ -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) {