Skip to content

Commit

Permalink
workaround cray emojilib panda behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
notwaldorf committed Sep 15, 2016
1 parent c56cf48 commit a910c44
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion emoji-translate.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ function getMeAnEmoji(word) {
for (var emoji in allEmojis) {
var words = allEmojis[emoji].keywords;
if (word == allEmojis[emoji].char ||
emoji == word || emoji == maybeSingular || emoji == maybePlural ||
emoji == word || (emoji == word + '_face' ) ||
emoji == maybeSingular || emoji == maybePlural ||
(words && words.indexOf(word) >= 0) ||
(words && words.indexOf(maybeSingular) >= 0) ||
(words && words.indexOf(maybePlural) >= 0)) {
Expand Down

0 comments on commit a910c44

Please sign in to comment.