1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 09:08:10 +01:00

Whitespace fixes.

--HG--
extra : rebase_source : 767c3a15afc7917a5f6585417c8edcd45b67f0b1
This commit is contained in:
Doug Kearns
2010-11-05 18:39:06 +11:00
parent 81fb98b4c4
commit 27d8ee04bb

View File

@@ -1046,11 +1046,11 @@ const Hints = Module("hints", {
[0xff21, 0xff3a, "A"], [0xff41, 0xff5a, "a"]
].forEach(function (start, stop, val) {
if (typeof val != "string")
for (let i=start; i <= stop; i++)
for (let i = start; i <= stop; i++)
table[String.fromCharCode(i)] = val[(i - start) % val.length];
else {
let n = val.charCodeAt(0);
for (let i=start; i <= stop; i++)
for (let i = start; i <= stop; i++)
table[String.fromCharCode(i)] = String.fromCharCode(n + i - start);
}
});