jspsych-similarity.js : fixed data storage so that generic data object
was included in the block's data.
jspsych-storybook.js: included generic data object in data storage,
included path to image in data storage.
jspsych.js: cosmetic adjustment to code in finishExperiment() method.
NEW:
added call-function plugin, which calls a user-specified function.
useful for saving data before completion.
added paint plugin - displays a canvas element superimposed on an image
and allows subjects to draw on the image to indicate areas of interest.
changes to the core jspsych.js file will break some backwards
compatibility. script files are no longer loaded dynamically, due to
issues with using $.getScript on local installations. this revision
makes defining a list of plugins unnecessary; they are automatically
recognized based on the experiment structure.
changes to similarity plugin: display is now sequential.
adding storybook plugin: this is an ipad plugin, which displays a single
image and records the location of touch events.
The top level object is jsPsych, and plugins are defined as jsPsych.PLUGIN.
The library also loads everything dynamically now, so the user only needs to load the main jsPsych script (and specify the src for any plugins).
This also changes how the library is loaded initially, since it is not based on the jQuery method anymore. See wiki.
Plugins now have a consistent internal structure, with better variable scoping.
This version breaks backward compatibility due to a change in the syntax of how experiment objects are declared.