update examples

This commit is contained in:
Josh de Leeuw 2017-06-25 21:08:20 -04:00
parent e347fe1f75
commit 1e9e6fc54a
2 changed files with 5 additions and 5 deletions

View File

@ -6,16 +6,16 @@
<script src="../plugins/jspsych-text.js"></script> <script src="../plugins/jspsych-text.js"></script>
<link rel="stylesheet" href="../css/jspsych.css"></link> <link rel="stylesheet" href="../css/jspsych.css"></link>
</head> </head>
<body></body>
<script> <script>
var first = { var first = {
type: 'text', type: 'text',
text: 'first trial! experiment will pause for 4s in between trials. press any key.', text: 'first trial! experiment will pause for 2s in between trials. press any key.',
timing_post_trial: 0, timing_post_trial: 0,
on_finish: function(){ on_finish: function(){
jsPsych.pauseExperiment(); jsPsych.pauseExperiment();
setTimeout(jsPsych.resumeExperiment, 4000); setTimeout(jsPsych.resumeExperiment, 2000);
} }
} }

View File

@ -10,7 +10,7 @@
width: 300px; width: 300px;
} }
</style> </style>
<body></body>
<script> <script>
var trial_1 = { var trial_1 = {
type: 'single-stim', type: 'single-stim',