First working build™️
This commit is contained in:
parent
b63f4f75ac
commit
755ab8598f
2
main.ts
2
main.ts
@ -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].match(abbrTarget)) {
|
if (abbreviationKey.target_phrases[abbr].test(abbrTarget)) {
|
||||||
return abbr;
|
return abbr;
|
||||||
} else {
|
} else {
|
||||||
return "";
|
return "";
|
||||||
|
Loading…
Reference in New Issue
Block a user