forked from jitsi/jitsi-meet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
smileys.js
48 lines (46 loc) · 1.36 KB
/
smileys.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
var smileys = {
"smiley1": ':)',
"smiley2": ':(',
"smiley3": ':D',
"smiley4": '(y)',
"smiley5": ' :P',
"smiley6": '(wave)',
"smiley7": '(blush)',
"smiley8": '(chuckle)',
"smiley9": '(shoked)',
"smiley10": ':*',
"smiley11": '(n)',
"smiley12": '(search)',
"smiley13": ' <3',
"smiley14": '(oops)',
"smiley15": '(angry)',
"smiley16": '(angel)',
"smiley17": '(sick)',
"smiley18": ';(',
"smiley19": '(bomb)',
"smiley20": '(clap)',
"smiley21": ' ;)'
};
var regexs = {
'smiley2': /(:-\(\(|:-\(|:\(\(|:\(|\(sad\))/gi,
'smiley3': /(:-\)\)|:\)\)|\(lol\)|:-D|:D)/gi,
'smiley1': /(:-\)|:\))/gi,
'smiley4': /(\(y\)|\(Y\)|\(ok\))/gi,
'smiley5': /(:-P|:P|:-p|:p)/gi,
'smiley6': /(\(wave\))/gi,
'smiley7': /(\(blush\))/gi,
'smiley8': /(\(chuckle\))/gi,
'smiley9': /(:-0|\(shocked\))/gi,
'smiley10': /(:-\*|:\*|\(kiss\))/gi,
'smiley11': /(\(n\))/gi,
'smiley12': /(\(search\))/g,
'smiley13': /(<3|<3|&lt;3|\(L\)|\(l\)|\(H\)|\(h\))/gi,
'smiley14': /(\(oops\))/gi,
'smiley15': /(\(angry\))/gi,
'smiley16': /(\(angel\))/gi,
'smiley17': /(\(sick\))/gi,
'smiley18': /(;-\(\(|;\(\(|;-\(|;\(|:'\(|:'-\(|:~-\(|:~\(|\(upset\))/gi,
'smiley19': /(\(bomb\))/gi,
'smiley20': /(\(clap\))/gi,
'smiley21': /(;-\)|;\)|;-\)\)|;\)\)|;-D|;D|\(wink\))/gi
};