First working build™️
This commit is contained in:
parent
b7d4036351
commit
741de7a170
3
main.ts
3
main.ts
@ -79,8 +79,9 @@ function arrayRotate(arr, reverse, amount) {
|
|||||||
|
|
||||||
function matchAbbr(abbrTarget) {
|
function matchAbbr(abbrTarget) {
|
||||||
console.log("Looking for: " + abbrTarget);
|
console.log("Looking for: " + abbrTarget);
|
||||||
|
console.log(typeof(abbrTarget));
|
||||||
for (var abbr in abbreviationKey.target_phrases) {
|
for (var abbr in abbreviationKey.target_phrases) {
|
||||||
if (abbreviationKey.target_phrases[abbr].hasExactString(abbrTarget)) {
|
if (abbreviationKey.target_phrases[abbr] == abbrTarget) {
|
||||||
return abbr;
|
return abbr;
|
||||||
} else {
|
} else {
|
||||||
return "";
|
return "";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user