Skip to content

Commit

Permalink
Remove normalize trial variables method
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jodeleeuw committed May 14, 2014
1 parent c88c078 commit b84df35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/jspsych-html.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit b84df35

Please sign in to comment.