mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-10 19:20:55 +00:00
Added version and extension type for 2 of 3 extensions
This commit is contained in:
parent
95a2203e27
commit
fadded2b4a
@ -155,6 +155,8 @@ class MouseTrackingExtension implements JsPsychExtension {
|
||||
}
|
||||
|
||||
return {
|
||||
extension_type: "mouse-tracking",
|
||||
extension_version: version,
|
||||
mouse_tracking_data: this.currentTrialData,
|
||||
mouse_tracking_targets: Object.fromEntries(this.currentTrialTargets.entries()),
|
||||
};
|
||||
|
@ -211,6 +211,8 @@ class WebGazerExtension implements JsPsychExtension {
|
||||
|
||||
// send back the gazeData
|
||||
return {
|
||||
extension_type: "webgazer",
|
||||
extension_version: version,
|
||||
webgazer_data: this.currentTrialData,
|
||||
webgazer_targets: this.currentTrialTargets,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user