diff --git a/jspsych.js b/jspsych.js index 34dbaa40..838451b7 100755 --- a/jspsych.js +++ b/jspsych.js @@ -37,25 +37,11 @@ DOM_target = $this; run(); - /* - * load scripts dynamically?? - * - * - // load plugin script files - var scripts_loaded = 0; - // load all of the plugins that are defined in the opts["plugins"] - for(var j = 0; j < opts["plugins"].length; j++) - { - $.getScript(opts["plugins"][j]["src"], function(){ - scripts_loaded++; - if(scripts_loaded==opts["plugins"].length) { - intialized = true; - run(); - } - }); - }*/ } + // core.data returns all of the data objects for each block as an array + // where core.data[0] = data object from block 0, etc... + core.data = function(){ var all_data = []; for(var i=0;i