|
|
@ -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 "";
|
|
|
|