diff options
author | Christopher Speller <crspeller@gmail.com> | 2016-11-17 12:02:16 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-17 12:02:16 -0500 |
commit | a7987149582a42e0f6d05813bc0f61fcdd6f805c (patch) | |
tree | ec862778a119f86c21943db625839bae31de5bb9 /webapp/utils/emoticons.jsx | |
parent | b1db1463f6e858b535d291d3f442eaf8a05bc410 (diff) | |
download | chat-a7987149582a42e0f6d05813bc0f61fcdd6f805c.tar.gz chat-a7987149582a42e0f6d05813bc0f61fcdd6f805c.tar.bz2 chat-a7987149582a42e0f6d05813bc0f61fcdd6f805c.zip |
Updating eslint (#4573)
Diffstat (limited to 'webapp/utils/emoticons.jsx')
-rw-r--r-- | webapp/utils/emoticons.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webapp/utils/emoticons.jsx b/webapp/utils/emoticons.jsx index ba54d8cb3..7280ef88b 100644 --- a/webapp/utils/emoticons.jsx +++ b/webapp/utils/emoticons.jsx @@ -12,7 +12,7 @@ export const emoticonPatterns = { smile: /(^|\s)(:-?d)(?=$|\s)/gi, // :D stuck_out_tongue_closed_eyes: /(^|\s)(x-d)(?=$|\s)/gi, // x-d stuck_out_tongue: /(^|\s)(:-?p)(?=$|\s)/gi, // :p - rage: /(^|\s)(:-?[\[@])(?=$|\s)/g, // :@ + rage: /(^|\s)(:-?[[@])(?=$|\s)/g, // :@ slightly_frowning_face: /(^|\s)(:-?\()(?=$|\s)/g, // :( cry: /(^|\s)(:['’]-?\(|:'\(|:'\()(?=$|\s)/g, // :`( confused: /(^|\s)(:-?\/)(?=$|\s)/g, // :/ @@ -23,7 +23,7 @@ export const emoticonPatterns = { heart: /(^|\s)(<3|<3)(?=$|\s)/g, // <3 broken_heart: /(^|\s)(<\/3|</3)(?=$|\s)/g, // </3 thumbsup: /(^|\s)(:\+1:)(?=$|\s)/g, // :+1: - thumbsdown: /(^|\s)(:\-1:)(?=$|\s)/g // :-1: + thumbsdown: /(^|\s)(:-1:)(?=$|\s)/g // :-1: }; export function handleEmoticons(text, tokens, emojis) { |