mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-10 11:10:54 +00:00
added core.data()
jsPsych.data() now returns an array that contains all of the data from the experiment.
This commit is contained in:
parent
17b9f5bd6d
commit
3c04677878
@ -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 //
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user