protect check_fn in normalizeTrialVariables

This commit is contained in:
Josh de Leeuw 2014-05-14 15:14:08 -04:00
parent a8f2a676e6
commit 55ebe2f413

View File

@ -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) {