mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-12 16:48:12 +00:00
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:
parent
c88c07887c
commit
b84df35eb0
@ -56,7 +56,7 @@ Example Usage:
|
|||||||
// if any trial variables are functions
|
// if any trial variables are functions
|
||||||
// this evaluates the function and replaces
|
// this evaluates the function and replaces
|
||||||
// it with the output of the function
|
// it with the output of the function
|
||||||
trial = jsPsych.normalizeTrialVariables(trial);
|
// trial = jsPsych.normalizeTrialVariables(trial);
|
||||||
|
|
||||||
var url = trial.url;
|
var url = trial.url;
|
||||||
if (trial.force_refresh) {
|
if (trial.force_refresh) {
|
||||||
|
Loading…
Reference in New Issue
Block a user