code cleanup (MisskeyIO#825)
This commit is contained in:
parent
029d6da7c8
commit
e7afbd140a
22 changed files with 24 additions and 25 deletions
|
@ -288,7 +288,7 @@ const keymap = {
|
|||
'down|j|tab': focusAfter,
|
||||
'esc': blur,
|
||||
'm|o': () => showMenu(true),
|
||||
's': () => showContent.value !== showContent.value,
|
||||
's': () => { showContent.value = !showContent.value; focus(); },
|
||||
};
|
||||
|
||||
provide('react', (reaction: string) => {
|
||||
|
|
|
@ -305,7 +305,7 @@ const keymap = {
|
|||
'q': () => renote(true),
|
||||
'esc': blur,
|
||||
'm|o': () => showMenu(true),
|
||||
's': () => showContent.value !== showContent.value,
|
||||
's': () => { showContent.value = !showContent.value; focus(); },
|
||||
};
|
||||
|
||||
provide('react', (reaction: string) => {
|
||||
|
|
|
@ -116,7 +116,7 @@ function get(): PollEditorModelValue {
|
|||
};
|
||||
|
||||
const calcAfter = () => {
|
||||
let base = parseInt(after.value.toString());
|
||||
let base = Number.parseInt(after.value.toString());
|
||||
switch (unit.value) {
|
||||
// @ts-expect-error fallthrough
|
||||
case 'day': base *= 24;
|
||||
|
|
|
@ -305,8 +305,6 @@
|
|||
"👸": ["girl", "woman", "female", "blond", "crown", "royal", "queen"],
|
||||
"🤴": ["boy", "man", "male", "crown", "royal", "king"],
|
||||
"👰": ["couple", "marriage", "wedding", "woman", "bride"],
|
||||
"👰": ["couple", "marriage", "wedding", "woman", "bride"],
|
||||
"🤵": ["couple", "marriage", "wedding", "groom"],
|
||||
"🤵": ["couple", "marriage", "wedding", "groom"],
|
||||
"🏃♀️": ["woman", "walking", "exercise", "race", "running", "female"],
|
||||
"🏃": ["man", "walking", "exercise", "race", "running"],
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
"noFallthroughCasesInSwitch": true,
|
||||
"declaration": false,
|
||||
"sourceMap": true,
|
||||
"target": "ES2022",
|
||||
"target": "es2022",
|
||||
"module": "nodenext",
|
||||
"moduleResolution": "nodenext",
|
||||
"allowSyntheticDefaultImports": true,
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
"noFallthroughCasesInSwitch": true,
|
||||
"declaration": false,
|
||||
"sourceMap": false,
|
||||
"target": "ES2022",
|
||||
"target": "es2022",
|
||||
"module": "nodenext",
|
||||
"moduleResolution": "nodenext",
|
||||
"removeComments": false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue