remove unused function

This commit is contained in:
Jhen 2023-08-21 13:06:59 +08:00
parent b7ddf04a26
commit 371cc14815
2 changed files with 1423 additions and 1443 deletions

File diff suppressed because it is too large Load diff

View file

@ -340,12 +340,6 @@
return String(str).replaceAll(/\{\{(.*?)\}\}/g, (_, key) => template(settings[key]));
}
const parseByteChar = (str) => {
const c = str.split('byte: ')[1];
if (!c) return null;
return parseInt(`0${c.replace('\\', '')}`, 16);
}
// send message to server
const chat = async (msg) => {
if (controller.value) {