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

@ -1,21 +1,21 @@
<!DOCTYPE html>
<html>
<head>
<script src="../jspsych.js"></script>
<script src="../plugins/jspsych-text.js"></script>
<link rel="stylesheet" href="../css/jspsych.css"></link>
</head>
<body></body>
<script>
var first = {
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,
on_finish: function(){
jsPsych.pauseExperiment();
setTimeout(jsPsych.resumeExperiment, 4000);
setTimeout(jsPsych.resumeExperiment, 2000);
}
}

View File

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