Skip to content

Commit

Permalink
protect check_fn in normalizeTrialVariables
Browse files Browse the repository at this point in the history
  • Loading branch information
jodeleeuw committed May 14, 2014
1 parent a8f2a67 commit 55ebe2f
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, ["check_fn"]);

var url = trial.url;
if (trial.force_refresh) {
Expand Down

1 comment on commit 55ebe2f

@jodeleeuw
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

related to #43

Please sign in to comment.