mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-10 11:10:54 +00:00
update examples
This commit is contained in:
parent
e347fe1f75
commit
1e9e6fc54a
@ -6,16 +6,16 @@
|
||||
<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);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
width: 300px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<body></body>
|
||||
<script>
|
||||
var trial_1 = {
|
||||
type: 'single-stim',
|
||||
|
Loading…
Reference in New Issue
Block a user