mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-10 11:10:54 +00:00
Update eye-tracking-with-webgazer.html
page demos/eye-tracking-with-webgazer broken Uncaught ReferenceError: jsPsychHtmKeyboardResponse is not defined refs: - https://www.jspsych.org/7.0/demos/eye-tracking-with-webgazer.html - https://www.jspsych.org/7.3/overview/eye-tracking/#example
This commit is contained in:
parent
b78dcc6830
commit
cc3b1a1230
@ -121,7 +121,7 @@
|
||||
}
|
||||
|
||||
var begin = {
|
||||
type: jsPsychHtmKeyboardResponse,
|
||||
type: jsPsychHtmlKeyboardResponse,
|
||||
stimulus: `<p>The next screen will show an image to demonstrate adding the webgazer extension to a trial.</p>
|
||||
<p>Just look at the image while eye tracking data is collected. The trial will end automatically.</p>
|
||||
<p>Press any key to start.</p>
|
||||
@ -142,7 +142,7 @@
|
||||
}
|
||||
|
||||
var show_data = {
|
||||
type: jsPsychHtmKeyboardResponse,
|
||||
type: jsPsychHtmlKeyboardResponse,
|
||||
stimulus: function() {
|
||||
var trial_data = jsPsych.data.getLastTrialData().values();
|
||||
var trial_json = JSON.stringify(trial_data, null, 2);
|
||||
|
Loading…
Reference in New Issue
Block a user