mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-10 19:20:55 +00:00
bug fix single-stim
This commit is contained in:
parent
ca123a3ff1
commit
2e5a79a872
@ -42,7 +42,7 @@
|
||||
trials[i].timing_response = params.timing_response || -1; // if -1, then wait for response forever
|
||||
trials[i].timing_post_trial = params.timing_post_trial || 1000;
|
||||
// optional parameters
|
||||
trials[i].is_html = (typeof params.is_html === 'undefined') ? false : true;
|
||||
trials[i].is_html = (typeof params.is_html === 'undefined') ? false : params.is_html;
|
||||
trials[i].prompt = (typeof params.prompt === 'undefined') ? "" : params.prompt;
|
||||
trials[i].data = (typeof params.data === 'undefined') ? {} : params.data[i];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user