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.
1 - Modified animation library to allow for prompt to be displayed while animation is displayed. Prompt is optional.
2 - Added two categorization plugins, one for training and one for testing.
3 - Started fixing IE issues. Two major problems have been identified and started to be corrected.
First: setTimeout() behaves differently in IE; optional parameters mean different things. Starting to rewrite all setTimeout calls so they work cross-browser.
Second: Some of the plugins were using .setAttribute to give a class to an image, so that it could later be removed. IE and others have different methods to do this. Fix is to use jQuery for all of this, which has cross-browser methods.
4 - As a result of 3B, I'm going to deprecate the jsPsych.showImage and jsPsych.showImages functions. They seemed out of place anyways.
-- added time recording to samedifferent task, which records the actual clock time
that stimuli were onscreen. We're using this data to verify that stimuli are
presented for the desired amount of time.
-- fixed a bug in XAB task, where some correct responses were not being recorded.