mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-12 16:48:12 +00:00
Update README.md
This commit is contained in:
parent
5b6809ed83
commit
f48245211a
@ -68,7 +68,8 @@ width=50% height=525/>
|
|||||||
type: 'single-stim',
|
type: 'single-stim',
|
||||||
stimulus: 'img/happy_face_1.jpg',
|
stimulus: 'img/happy_face_1.jpg',
|
||||||
choices: [89, 78], // Y or N
|
choices: [89, 78], // Y or N
|
||||||
prompt: '<p class="center-content">Is this face happy? Y or N.</p>'
|
prompt: '<p class="center-content">
|
||||||
|
Is this face happy? Y or N.</p>'
|
||||||
}
|
}
|
||||||
|
|
||||||
var trial_2 = {
|
var trial_2 = {
|
||||||
@ -76,14 +77,16 @@ width=50% height=525/>
|
|||||||
stimulus: 'img/sad_face_2.jpg',
|
stimulus: 'img/sad_face_2.jpg',
|
||||||
choices: [89, 78], // Y or N
|
choices: [89, 78], // Y or N
|
||||||
timing_response: 5000,
|
timing_response: 5000,
|
||||||
prompt: '<p class="center-content">Is this face happy? Y or N. (5s time limit).</p>'
|
prompt: '<p class="center-content">
|
||||||
|
Is this face happy? Y or N. (5s time limit).</p>'
|
||||||
}
|
}
|
||||||
|
|
||||||
var trial_3 = {
|
var trial_3 = {
|
||||||
type: 'single-stim',
|
type: 'single-stim',
|
||||||
choices: jsPsych.NO_KEYS, // Y or N
|
choices: jsPsych.NO_KEYS, // Y or N
|
||||||
timing_response: 2000,
|
timing_response: 2000,
|
||||||
prompt: '<p class="center-content">No response allowed at this point. 2s wait.</p>',
|
prompt: '<p class="center-content"
|
||||||
|
>No response allowed at this point. 2s wait.</p>',
|
||||||
stimulus: '<p></p>',
|
stimulus: '<p></p>',
|
||||||
is_html: true
|
is_html: true
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user