mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-10 11:10:54 +00:00
renaming stuff in html plugin
This commit is contained in:
parent
684710246a
commit
e697961a75
@ -31,9 +31,9 @@
|
||||
trials[i] = {
|
||||
"type": "free-sort",
|
||||
"images": params.stimuli[i], // array of images to display
|
||||
"stim_height": params.stim_height,
|
||||
"stim_width": params.stim_width,
|
||||
"timing": params.timing_post_trial || 1000,
|
||||
"stim_height": params.stim_height || 100,
|
||||
"stim_width": params.stim_width || 100,
|
||||
"timing_post_trial": params.timing_post_trial || 1000,
|
||||
"prompt": (typeof params.prompt === 'undefined') ? '' : params.prompt,
|
||||
"prompt_location": params.prompt_location || "above",
|
||||
"sort_area_width": params.sort_area_width || 800,
|
||||
|
@ -24,11 +24,10 @@ Data:
|
||||
|
||||
|
||||
Example Usage:
|
||||
jsPsych.init($('#target'),
|
||||
jsPsych.init(
|
||||
{experiment_structure: [
|
||||
{type: "html", pages:[{url: "intro.html", cont_btn: "start"}]}
|
||||
],
|
||||
finish: function(data) { }
|
||||
]
|
||||
});
|
||||
*/
|
||||
(function($) {
|
||||
@ -44,7 +43,7 @@ Example Usage:
|
||||
url: params.pages[i].url,
|
||||
cont_key: params.pages[i].cont_key || params.cont_key,
|
||||
cont_btn: params.pages[i].cont_btn || params.cont_btn,
|
||||
timing_post_trial: params.pages[i].timing || params.timing,
|
||||
timing_post_trial: params.pages[i].timing_post_trial || params.timing_post_trial,
|
||||
check_fn: params.pages[i].check_fn,
|
||||
force_refresh: params.force_refresh || false
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user