Skip to content

jsPsych is not defined in experiments #32

Description

@jkredz

When trying to run a battery test with (plus_minus, stop_signal, and stroop), the experiment doesnt load because of the following errors

  1. Uncaught ReferenceError jsPsych is not defined experiment.js:35
  2. Uncaught ReferenceError jsPsych is not defined experiment.js:167
  3. Uncaught ReferenceError jsPsych is not defined experiment.js:147
  4. Uncaught ReferenceError stroop_experiment is not defined load_experiments.js:48

Error 1,2,3 are referencing to the line calling jsPsych.randomization
var numbers = jsPsych.randomization.repeat(numbers, 1, false)

Error 4 references to
case "stroop":
experiments = experiments.concat(stroop_experiment)
break;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions