Skip to content

Commit dce9b6d

Browse files
author
Madekuji
authored
The J Update
Added the letter J
2 parents 882ae10 + a705ac3 commit dce9b6d

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

img/j.png

1.41 KB
Loading

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<body>
2222
<div class = "main">
2323
<h1><img src="img/guide/logo.png" width="64px" style="vertical-align:middle"> &nbsp;Asacoco Keyboard</h1>
24-
<p id="center">Use this tool to convert text into Coco's alphabet emotes.<br>Out of 26 letters, only 21 have emote equivalents since letters J, Q, V, X, Z don't have emote equivalents.</p>
24+
<p id="center">Use this tool to convert text into Coco's alphabet emotes.<br>Out of 26 letters, only 22 have emote equivalents since letters Q, V, X, Z don't have emote equivalents.</p>
2525
<div id = "display">
2626
Preview
2727
</div>

main.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@ function myFunction(){
1717
n:":_nnn:",
1818
o:":_ooo:",
1919
p:":_ppp:",
20-
q:":_qqq:",
20+
q:"Q",
2121
r:":_rrr:",
2222
s:":_sss:",
2323
t:":_ttt:",
2424
u:":_uuu:",
25-
v:":_vvv:",
25+
v:"V",
2626
w:":_wowow:",
27-
x:":_xxx:",
27+
x:"X",
2828
y:":_yyy:",
29-
z:":_zzz:"
29+
z:"Z"
3030
};
3131
var discordObj = {
3232
a:":letteraaa:",
@@ -38,7 +38,7 @@ function myFunction(){
3838
g:":letterggg:",
3939
h:":letterhhh:",
4040
i:":letteriii:",
41-
j:"🇯",
41+
j:":letterjjj:",
4242
k:":letterkkk:",
4343
l:":letterlll:",
4444
m:":lettermmm:",
@@ -84,13 +84,13 @@ function myFunction(){
8484
y:'<img src="img/y.png" align="top" alt=":_yyy:">',
8585
z:'<img src="img/z.png" align="top" alt=":_zzz:">'
8686
};
87-
var modifiedText = inputText.replace(/a|b|c|d|e|f|g|h|i|k|l|m|n|o|p|r|s|t|u|w|y/ig, function(matched){
87+
var modifiedText = inputText.replace(/a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p|r|s|t|u|w|y/ig, function(matched){
8888
return cocoChatObj[matched.toLowerCase()];
8989
});
9090
var discordText = inputText.replace(/a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p|q|r|s|t|u|v|w|x|y|z/ig, function(matched){
9191
return discordObj[matched.toLowerCase()];
9292
});
93-
var emoteDisplay = inputText.replace(/a|b|c|d|e|f|g|h|i|k|l|m|n|o|p|r|s|t|u|w|y/ig, function(matched){
93+
var emoteDisplay = inputText.replace(/a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p|r|s|t|u|w|y/ig, function(matched){
9494
return emoteObj[matched.toLowerCase()];
9595
});
9696
//var modifiedText = (inputText.replace(/a/ig, ':aaa:'));

0 commit comments

Comments
 (0)