mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-10 11:10:54 +00:00
Update jspsych.md
Add missing comma
This commit is contained in:
parent
a411b88069
commit
aae896baa6
@ -150,7 +150,7 @@ Ends the experiment, skipping all remaining trials. If the `on_finish` event han
|
|||||||
var trial = {
|
var trial = {
|
||||||
type: jsPsychImageKeyboardResponse,
|
type: jsPsychImageKeyboardResponse,
|
||||||
stimulus: 'image1.jpg',
|
stimulus: 'image1.jpg',
|
||||||
choices: ['y', 'n']
|
choices: ['y', 'n'],
|
||||||
prompt: '<p>Press "y" to Continue. Press "n" to end the experiment</p>',
|
prompt: '<p>Press "y" to Continue. Press "n" to end the experiment</p>',
|
||||||
on_finish: function(data){
|
on_finish: function(data){
|
||||||
if(jsPsych.pluginAPI.compareKeys(data.response, "n")){
|
if(jsPsych.pluginAPI.compareKeys(data.response, "n")){
|
||||||
|
Loading…
Reference in New Issue
Block a user