Skip to content

Commit

Permalink
Update jspsych.md
Browse files Browse the repository at this point in the history
Add missing comma
  • Loading branch information
susanBuck authored Oct 18, 2024
1 parent a411b88 commit aae896b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference/jspsych.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ Ends the experiment, skipping all remaining trials. If the `on_finish` event han
var trial = {
type: jsPsychImageKeyboardResponse,
stimulus: 'image1.jpg',
choices: ['y', 'n']
choices: ['y', 'n'],
prompt: '<p>Press "y" to Continue. Press "n" to end the experiment</p>',
on_finish: function(data){
if(jsPsych.pluginAPI.compareKeys(data.response, "n")){
Expand Down

0 comments on commit aae896b

Please sign in to comment.