Antonin Décimo
5db63685a2
Simplify /help code.
2021-08-07 18:12:37 +02:00
Antonin Décimo
e99aa7d498
Fix localMessage call to addToChatbox.
...
Commit b527c8757a added the `kind`
parameter to `addToChatbox`, but the change wasn't reflected here.
2021-08-07 18:12:37 +02:00
Antonin Décimo
f89270e874
Fix typos.
2021-06-09 15:20:17 +02:00
Antonin Décimo
4b8a509a21
Fix typos.
2021-01-05 22:16:15 +01:00
Antonin Décimo
fb30fe3bb7
Fix removal of stream.onremovetrack callback.
2021-01-05 21:59:50 +01:00
Antonin Décimo
056ffcd2cf
Add missing semicolons.
2021-01-05 21:59:47 +01:00
Antonin Décimo
f5de94cf3e
Correct spelling of privileged.
2020-12-15 14:52:46 +01:00
Antonin Décimo
f0cbe9c0c1
Fix wrong label reference.
2020-12-03 22:53:51 +01:00
Antonin Décimo
20fe37b459
Align checkboxes with labels in optionsdiv.
2020-12-02 13:49:53 +01:00
Antonin Décimo
7d4dabe30f
JSDoc doesn't recognize {Promise<void>[]}, use {Array.<>}.
2020-12-01 21:07:44 +01:00
Antonin Décimo
59507c811f
Make type of array of objects compatible with JSDoc and TSDoc.
...
The best TSDoc type is (Text|HTMLElement)[], but to JSDoc the array is
not distributive. JSDoc prefers Text[]|HTMLElement[], but TSDoc
rejects that syntax. In the end, both are fine with
Array.<Text|HTMLElement>.
2020-12-01 21:07:44 +01:00
Antonin Décimo
22f9442cf4
Fix typos.
2020-12-01 21:07:44 +01:00
Antonin Décimo
5ad4df5a45
Add missing semicolons.
2020-09-14 17:23:06 +02:00
Antonin Décimo
c6d065aa20
Println doesn't support formats.
2020-09-14 17:22:22 +02:00
Antonin Décimo
c52fa75686
Fix undefined disconnectbutton variable.
...
Commit 8257a7f "Remove dead variables." was wrong in that it deleted
the 'diconnect' [sic] variable definition, and left the
'disconnectbutton' variable undefined.
2020-05-14 12:55:41 +02:00
Antonin Décimo
31a5a8e8f1
Fix escaping of \ in character class.
...
> Rejeté. Ce n'est pas un escape.
D’après mes tests, c’est considéré comme un escape. Doubler le
caractère serait suffisant.
const url = 'https://example\\.com ';
const urlRegexp1 = /https?:\/\/[-a-zA-Z0-9@:%/._\+~#=?]+[-a-zA-Z0-9@:%/_\+~#=]/g;
const urlRegexp2 = /https?:\/\/[-a-zA-Z0-9@:%/._\\+~#=?]+[-a-zA-Z0-9@:%/_\\+~#=]/g;
console.log(url.length); // 20
console.log(urlRegexp1.exec(url)); // ["https://example "]
console.log(urlRegexp2.exec(url)); // ["https://example\.com "]
2020-05-11 00:33:58 +02:00
Antonin Décimo
33610e89f8
Introduce a lexical block in case.
2020-05-10 22:42:48 +02:00
Antonin Décimo
61b45ace5a
Correctly close input tags.
2020-05-10 21:43:09 +02:00
Antonin Décimo
38a341de95
Fix unsafe negation.
...
https://eslint.org/docs/rules/no-unsafe-negation
2020-05-10 21:41:46 +02:00
Antonin Décimo
1064c4a47b
Remove mentions of #anonymous-users.
2020-05-10 21:41:33 +02:00
Antonin Décimo
f595da8fa9
Add missing semicolons.
2020-05-10 21:39:42 +02:00