From 233bdbf8e708be7ab2a779a0118cfdb5a1a49304 Mon Sep 17 00:00:00 2001 From: Caleb Fontenot Date: Fri, 31 Mar 2023 12:48:43 -0500 Subject: [PATCH] First working build:tm: --- main.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/main.ts b/main.ts index eb50d9b..1b90c73 100644 --- a/main.ts +++ b/main.ts @@ -79,11 +79,14 @@ function arrayRotate(arr, reverse, amount) { function matchAbbr(abbrTarget) { console.log("Looking for: " + abbrTarget); - console.log(typeof(abbrTarget)); for (var abbr in abbreviationKey.target_phrases) { if (abbreviationKey.target_phrases[abbr] == abbrTarget) { + console.log("abbrTarget:" + typeof(abbrTarget)); + console.log("abbr: " + typeof(abbr)); return abbr; } else { + console.log("abbrTarget:" + typeof(abbrTarget)); + console.log("abbr: " + typeof(abbr)); return ""; } }