From 1fd6ee077e5af193ffcd13643e779a3d775e5657 Mon Sep 17 00:00:00 2001 From: kristiyip Date: Wed, 12 Jul 2017 14:19:08 -0400 Subject: [PATCH] Update README.md --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cf964eb1..038729c5 100644 --- a/README.md +++ b/README.md @@ -125,6 +125,7 @@ var test_stimuli = [ { stimulus: ">>>>>", data: { stim_type: 'congruent'} }, { stimulus: "<<><<", data: { stim_type: 'incongruent'} }, { stimulus: ">><>>", data: { stim_type: 'incongruent'} } ]; + var test = { timeline: [{ type: 'html-keyboard-response', @@ -134,7 +135,9 @@ var test = { post_trial_gap: 1500, response_ends_trial: true }], timeline_variables: test_stimuli, - sample: {type: 'fixed-repetitions', size: 2}}; + sample: {type: 'fixed-repetitions', size: 2} +}; + var debrief = { type: "html-keyboard-response", stimulus: function() { @@ -146,7 +149,9 @@ var debrief = { "was "+congruent_rt+"ms.

"+ "

Your average response time for incongruent trials was"+ ""incongruent_rt + "ms.

"; - }}; + } +}; + var timeline = []; timeline.push(test); timeline.push(debrief);