Skip to content

Commit

Permalink
add fws and writing as synonyms for english
Browse files Browse the repository at this point in the history
  • Loading branch information
willbarkoff committed Sep 1, 2020
1 parent 6e73946 commit 4dffd8c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/quickAdd.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ var classSynonyms = [
["computer science", "compsci", "cs"],
["language", "french", "latin", "spanish", "span", "mandarin"],
["history", "us history", "hist", "ush"],
["english", "eng"]
["english", "eng", "fws"]
];
var lexicon = {};

Expand Down Expand Up @@ -56,8 +56,8 @@ var findClass = function(name) {
var synonym = synonymList[synonymIndex];
var normalizedSynonym = normalizeName(synonym);

if (normalizedSynonym == classNormalized){
hasClassName = true;
if (normalizedSynonym == classNormalized) {
hasClassName = true;
} else if (normalizedSynonym == normalizedName) {
hasSearchName = true;
}
Expand Down Expand Up @@ -267,6 +267,6 @@ module.exports = {
}
}

return [ response ];
return [response];
}
};

0 comments on commit 4dffd8c

Please sign in to comment.