added core.data()

jsPsych.data() now returns an array that contains all of the data from
the experiment.
This commit is contained in:
Josh de Leeuw 2012-07-05 12:30:36 -04:00
parent 17b9f5bd6d
commit 3c04677878

View File

@ -56,6 +56,15 @@
}*/
}
core.data = function(){
var all_data = [];
for(var i=0;i<exp_blocks.length;i++)
{
all_data[i] = exp_blocks[i].data;
}
return all_data;
}
//
// private functions //
//