Commit Graph

5 Commits

Author SHA1 Message Date
Josh de Leeuw
befdcfc1cd Rescoped everything so that jsPsych is not a jQuery plugin.
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.
2012-05-17 09:19:04 -04:00
Josh de Leeuw
a056b6e69c missed the animation and touch plugins in previous changes.
similarity had a bug in the naming of the plugin.
2012-05-15 16:10:10 -04:00
Josh de Leeuw
9c94b4d0b6 Reworking the plugin structure to use the Module javascript design pattern.
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.
2012-05-15 16:03:26 -04:00
Josh de Leeuw
9c8884f356 removed showImage and showImages from jspsych.js
fixed ie bugs in similarity
2012-05-14 15:41:15 -04:00
Drew Hendrickson
ee8de223d5 code directly from Josh 2012-03-26 23:32:21 -04:00