jspsych 8.0.1 → 8.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.browser.js +3 -3
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.min.js +3 -3
- package/dist/index.browser.min.js.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/modules/plugin-api/KeyboardListenerAPI.ts +1 -1
package/dist/index.browser.js
CHANGED
|
@@ -53,7 +53,7 @@ var jsPsychModule = (function (exports) {
|
|
|
53
53
|
|
|
54
54
|
var _package = {
|
|
55
55
|
name: "jspsych",
|
|
56
|
-
version: "8.0.
|
|
56
|
+
version: "8.0.2",
|
|
57
57
|
description: "Behavioral experiments in a browser",
|
|
58
58
|
type: "module",
|
|
59
59
|
main: "dist/index.cjs",
|
|
@@ -669,7 +669,7 @@ var jsPsychModule = (function (exports) {
|
|
|
669
669
|
}
|
|
670
670
|
}
|
|
671
671
|
rootKeydownListener(e) {
|
|
672
|
-
for (const listener of
|
|
672
|
+
for (const listener of [...this.listeners]) {
|
|
673
673
|
listener(e);
|
|
674
674
|
}
|
|
675
675
|
this.heldKeys.add(this.toLowerCaseIfInsensitive(e.key));
|
|
@@ -3100,4 +3100,4 @@ var jsPsychModule = (function (exports) {
|
|
|
3100
3100
|
|
|
3101
3101
|
})({});
|
|
3102
3102
|
var initJsPsych = jsPsychModule.initJsPsych;
|
|
3103
|
-
//# sourceMappingURL=https://unpkg.com/jspsych@8.0.
|
|
3103
|
+
//# sourceMappingURL=https://unpkg.com/jspsych@8.0.2/dist/index.browser.js.map
|