From cc3b1a1230ec609e9a6d5b7e120c0639c3fd1cac Mon Sep 17 00:00:00 2001 From: John Chiu Date: Fri, 13 Oct 2023 02:44:08 +0800 Subject: [PATCH] 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 --- docs/demos/eye-tracking-with-webgazer.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/demos/eye-tracking-with-webgazer.html b/docs/demos/eye-tracking-with-webgazer.html index 7e20af345f..5a0bf6fc8e 100644 --- a/docs/demos/eye-tracking-with-webgazer.html +++ b/docs/demos/eye-tracking-with-webgazer.html @@ -121,7 +121,7 @@ } var begin = { - type: jsPsychHtmKeyboardResponse, + type: jsPsychHtmlKeyboardResponse, stimulus: `

The next screen will show an image to demonstrate adding the webgazer extension to a trial.

Just look at the image while eye tracking data is collected. The trial will end automatically.

Press any key to start.

@@ -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);