From dd46c7e01799d9ff6453ffd243ff76ebf5ed59fb Mon Sep 17 00:00:00 2001 From: Josh de Leeuw Date: Wed, 12 Jul 2017 22:59:47 -0400 Subject: [PATCH] Update README.md --- README.md | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index aa231e92..e36a8bb8 100644 --- a/README.md +++ b/README.md @@ -28,23 +28,25 @@ These examples are intended to illustrate what jsPsych code and experiments look - var trial = { - type: 'instructions', - pages: [ - 'Welcome to the experiment. Click next to begin.', - '
In this experiment, you will view a ' + - 'series of images and answer questions.
' + - 'Answer with the keys "y" or "n".', - 'Here is an example:

' + - '

' + - 'Is this person OLD or YOUNG?' - ], - show_clickable_nav: true - } +var trial = { + type: 'instructions', + pages: [ + 'Welcome to the experiment. Click next to begin.', + + '
In this experiment, you will view a ' + + 'series of images and answer questions.
' + + 'Answer with the keys "y" or "n".', + + 'Here is an example:

' + + '

' + + 'Is this person OLD or YOUNG?' + ], + show_clickable_nav: true +} - jsPsych.init({ - timeline: [trial], - }); +jsPsych.init({ + timeline: [trial], +});