shortcuts.js 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. // Emoticons -> Emoji mapping.
  2. //
  3. // (!) Some patterns skipped, to avoid collisions
  4. // without increase matcher complicity. Than can change in future.
  5. //
  6. // Places to look for more emoticons info:
  7. //
  8. // - http://en.wikipedia.org/wiki/List_of_emoticons#Western
  9. // - https://github.com/wooorm/emoticon/blob/master/Support.md
  10. // - http://factoryjoe.com/projects/emoticons/
  11. //
  12. 'use strict';
  13. module.exports = {
  14. angry: [ '>:(', '>:-(' ],
  15. blush: [ ':")', ':-")' ],
  16. broken_heart: [ '</3', '<\\3' ],
  17. // :\ and :-\ not used because of conflict with markdown escaping
  18. confused: [ ':/', ':-/' ], // twemoji shows question
  19. cry: [ ":'(", ":'-(", ':,(', ':,-(' ],
  20. frowning: [ ':(', ':-(' ],
  21. heart: [ '<3' ],
  22. imp: [ ']:(', ']:-(' ],
  23. innocent: [ 'o:)', 'O:)', 'o:-)', 'O:-)', '0:)', '0:-)' ],
  24. joy: [ ":')", ":'-)", ':,)', ':,-)', ":'D", ":'-D", ':,D', ':,-D' ],
  25. kissing: [ ':*', ':-*' ],
  26. laughing: [ 'x-)', 'X-)' ],
  27. neutral_face: [ ':|', ':-|' ],
  28. open_mouth: [ ':o', ':-o', ':O', ':-O' ],
  29. rage: [ ':@', ':-@' ],
  30. smile: [ ':D', ':-D' ],
  31. smiley: [ ':)', ':-)' ],
  32. smiling_imp: [ ']:)', ']:-)' ],
  33. sob: [ ":,'(", ":,'-(", ';(', ';-(' ],
  34. stuck_out_tongue: [ ':P', ':-P' ],
  35. sunglasses: [ '8-)', 'B-)' ],
  36. sweat: [ ',:(', ',:-(' ],
  37. sweat_smile: [ ',:)', ',:-)' ],
  38. unamused: [ ':s', ':-S', ':z', ':-Z', ':$', ':-$' ],
  39. wink: [ ';)', ';-)' ]
  40. };