formatting

This commit is contained in:
Adrien MALINGREY 2023-06-14 18:16:05 +02:00
parent 4a33194f7a
commit 15db0673d6

30
app.js
View File

@ -69,22 +69,22 @@ const AWARDED_LINE_CLEARS = {
} }
const KEY_NAMES = { const KEY_NAMES = {
["ArrowLeft"]: "←", ["ArrowLeft"] : "←",
["ArrowRight"]: "→", ["ArrowRight"] : "→",
["ArrowUp"]: "↑", ["ArrowUp"] : "↑",
["ArrowDown"]: "↓", ["ArrowDown"] : "↓",
[" "]: "Espace", [" "] : "Espace",
["Escape"]: "Échap.", ["Escape"] : "Échap.",
["Backspace"]: "Ret. arrière", ["Backspace"] : "Ret. arrière",
["Enter"]: "Entrée", ["Enter"] : "Entrée",
["←"]: "ArrowLeft", ["←"] : "ArrowLeft",
["→"]: "ArrowRight", ["→"] : "ArrowRight",
["↑"]: "ArrowUp", ["↑"] : "ArrowUp",
["↓"]: "ArrowDown", ["↓"] : "ArrowDown",
["Espace"]: " ", ["Espace"] : " ",
["Échap."]: "Escape", ["Échap."] : "Escape",
["Ret. arrière"]: "Backspace", ["Ret. arrière"]: "Backspace",
["Entrée"]: "Enter", ["Entrée"] : "Enter",
} }
const CLEARED_LINES_NAMES = [ const CLEARED_LINES_NAMES = [