summaryrefslogtreecommitdiffstats
path: root/platform/web
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-11-11 23:01:24 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-11-11 23:01:24 +0100
commitba713c80dfe73d37e51da2e4021d4275f72826bf (patch)
tree25806b7be95eb6dbfe1de944a37a0183a9dff8cd /platform/web
parente38686f85b768a451dc06324fe2471adc8665448 (diff)
downloadredot-engine-ba713c80dfe73d37e51da2e4021d4275f72826bf.tar.gz
Fix various typos with codespell
Using 2.2.7.dev51+geb4a58fe.
Diffstat (limited to 'platform/web')
-rw-r--r--platform/web/js/libs/library_godot_input.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/web/js/libs/library_godot_input.js b/platform/web/js/libs/library_godot_input.js
index 92113e85c9..eaff40f89c 100644
--- a/platform/web/js/libs/library_godot_input.js
+++ b/platform/web/js/libs/library_godot_input.js
@@ -135,9 +135,9 @@ const GodotInputGamepads = {
}
const id = pad.id;
- // Chrom* style: NAME (Vendor: xxxx Product: xxxx)
+ // Chrom* style: NAME (Vendor: xxxx Product: xxxx).
const exp1 = /vendor: ([0-9a-f]{4}) product: ([0-9a-f]{4})/i;
- // Firefox/Safari style (safari may remove leading zeores)
+ // Firefox/Safari style (Safari may remove leading zeroes).
const exp2 = /^([0-9a-f]+)-([0-9a-f]+)-/i;
let vendor = '';
let product = '';