Commit Graph

4 Commits

Author SHA1 Message Date
Josh de Leeuw
691e8086ff call-func fix; added active-match
call-function: changed data storage so that if there was no return value
then no data would be stored in the data object. this helps when trying
to write data to a database as the empty data can be safely ignored.

active-match: new plugin for manipulating an image until it matches
another image.
2012-08-22 12:09:06 -04:00
Josh de Leeuw
f7bc23c741 fixed bug in call-function
args were not being passed in as an array
2012-07-24 13:23:51 -04:00
Josh de Leeuw
8b7e9f0aa9 bug fix in call-function 2012-07-20 13:30:18 -04:00
Josh de Leeuw
39846f1754 recommit of previous commit since nothing was changed...
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.
2012-07-12 13:22:06 -04:00