modify examples

This commit is contained in:
Josh de Leeuw 2016-12-15 11:10:13 -05:00
parent 74acf2c7b1
commit 698bba5fee
2 changed files with 6 additions and 7 deletions

View File

@ -55,7 +55,8 @@
jsPsych.init({ jsPsych.init({
timeline: [loop_node, pre_if_trial, if_node, after_if_trial], timeline: [loop_node, pre_if_trial, if_node, after_if_trial],
on_finish: function(){jsPsych.data.displayData(); } on_finish: function(){jsPsych.data.displayData(); },
default_iti: 200
}); });
</script> </script>

View File

@ -1,8 +1,6 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<script src="../jspsych.js"></script> <script src="../jspsych.js"></script>
<script src="../plugins/jspsych-single-stim.js"></script> <script src="../plugins/jspsych-single-stim.js"></script>
<script src="../plugins/jspsych-text.js"></script> <script src="../plugins/jspsych-text.js"></script>
@ -12,7 +10,7 @@
width: 300px; width: 300px;
} }
</style> </style>
</head>
<script> <script>
var trial_1 = { var trial_1 = {
type: 'single-stim', type: 'single-stim',
@ -52,12 +50,12 @@
jsPsych.init({ jsPsych.init({
timeline: [trial_1, trial_2, trial_3, block_set, end_screen], timeline: [trial_1, trial_2, trial_3], //block_set, end_screen],
show_progress_bar: true, show_progress_bar: true,
on_finish: function() { on_finish: function() {
jsPsych.data.displayData(); jsPsych.data.displayData();
} }
}); });
</script> </script>
</head>
</html> </html>