mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-10 11:10:54 +00:00
modify examples
This commit is contained in:
parent
74acf2c7b1
commit
698bba5fee
@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
|
||||
|
||||
<script src="../jspsych.js"></script>
|
||||
<script src="../plugins/jspsych-text.js"></script>
|
||||
<link rel="stylesheet" href="../css/jspsych.css"></link>
|
||||
@ -55,7 +55,8 @@
|
||||
|
||||
jsPsych.init({
|
||||
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>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
|
||||
<script src="../jspsych.js"></script>
|
||||
<script src="../plugins/jspsych-single-stim.js"></script>
|
||||
<script src="../plugins/jspsych-text.js"></script>
|
||||
@ -12,7 +10,7 @@
|
||||
width: 300px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<script>
|
||||
var trial_1 = {
|
||||
type: 'single-stim',
|
||||
@ -52,12 +50,12 @@
|
||||
|
||||
|
||||
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,
|
||||
on_finish: function() {
|
||||
jsPsych.data.displayData();
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
</head>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user