First working build™️

This commit is contained in:
Chloe Fontenot 🏳️‍⚧️ 2023-03-31 12:39:56 -05:00
parent a64862be28
commit 2895e6e455

View File

@ -80,7 +80,7 @@ function arrayRotate(arr, reverse, amount) {
function matchAbbr(abbrTarget) { function matchAbbr(abbrTarget) {
console.log("Looking for: " + abbrTarget); console.log("Looking for: " + abbrTarget);
for (var abbr in abbreviationKey.target_phrases) { for (var abbr in abbreviationKey.target_phrases) {
if (abbreviationKey.target_phrases[abbr].test(abbrTarget)) { if (abbreviationKey.target_phrases[abbr].hasExactString(abbrTarget)) {
return abbr; return abbr;
} else { } else {
return ""; return "";