Remove normalize trial variables method

This is a bad idea for this plugin, since check_fn is a function. Need to figure out a way to protect variables like this one. For now, just revert to no functions as trial variables for this plugin.
This commit is contained in:
Josh de Leeuw 2014-05-14 12:50:23 -04:00
parent c88c07887c
commit b84df35eb0

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);
var url = trial.url;
if (trial.force_refresh) {