Update README.md

This commit is contained in:
kristiyip 2017-07-12 14:17:34 -04:00 committed by GitHub
parent 77c3031369
commit 7de768bfea

View File

@ -70,28 +70,27 @@ This is an example of the image-keyboard-response plugin:
var trial_1 = {
type: "image-keyboard-response",
stimulus: 'img/happy_face_1.jpg',
choices: [89, 78],
prompt: '<p class="center-content">' +
'Is this face happy? Y or N.</p>'
prompt: '<p>Is this face happy? Y or N.</p>'
}
var trial_2 = {
type: 'image-keyboard-response',
stimulus: 'img/sad_face_2.jpg',
choices: [89, 78], // Y or N
prompt: '<p class="center-content">' +
'Is this face happy? Y or N.</p>'
prompt: '<p>Is this face happy? Y or N.</p>'
}
var trial_3 = {
type: 'image-keyboard-response',
stimulus: 'img/happy_face_2.jpg',
choices: [89, 78], // Y or N
prompt: '<p class="center-content">' +
'Is this face happy? Y or N.</p>',
prompt: '<p>Is this face happy? Y or N.</p>',
}
@ -102,6 +101,8 @@ This is an example of the image-keyboard-response plugin:
```
</sub>
</div>