aboutsummaryrefslogtreecommitdiff
path: root/webAO/utils/aoml.ts
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2023-09-20 13:10:36 +0200
committerstonedDiscord <Tukz@gmx.de>2023-09-20 13:10:36 +0200
commitdda92bd41f4bee11e2cc5de265ce4fbf5221f1ff (patch)
treebcb0f8121955ff815758b30ec4e24a1e6bde4fba /webAO/utils/aoml.ts
parent59028dd4046ad0715d80be8d1ed0031f20f05b7a (diff)
autoformat with eslint
Diffstat (limited to 'webAO/utils/aoml.ts')
-rw-r--r--webAO/utils/aoml.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/webAO/utils/aoml.ts b/webAO/utils/aoml.ts
index 1f2f482..a2c1dd5 100644
--- a/webAO/utils/aoml.ts
+++ b/webAO/utils/aoml.ts
@@ -64,10 +64,10 @@ const mlConfig = (AO_HOST: string) => {
const closingStack = []
const colorStack = []
// each value in output will be an html element
- let output: HTMLSpanElement[] = []
+ const output: HTMLSpanElement[] = []
for (const letter of text) {
- let currentSelector = document.createElement('span')
- let currentIdentifier = identifiers.get(letter)
+ const currentSelector = document.createElement('span')
+ const currentIdentifier = identifiers.get(letter)
const currentClosingLetter = closingStack[closingStack.length - 1]
const keepChar = Number(currentIdentifier?.remove) === 0
if (currentClosingLetter === letter) {