Merge pull request #3043 from dato/prettier_rerun_final

Final prettier re-run
This commit is contained in:
Mouse Reeve 2023-10-17 14:28:48 -07:00 committed by GitHub
commit 3624763073
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 59 additions and 59 deletions

View file

@ -88,64 +88,64 @@ const tries = {
mimetype: { mimetype: {
a: { a: {
a: { a: {
c: "AAC" c: "AAC",
}, },
z: { z: {
w: "AZW" w: "AZW",
} },
}, },
d: { d: {
a: { a: {
i: { i: {
s: { s: {
y: "Daisy" y: "Daisy",
} },
} },
} },
}, },
e: { e: {
p: { p: {
u: { u: {
b: "EPUB" b: "EPUB",
} },
} },
}, },
f: { f: {
l: { l: {
a: { a: {
c: "FLAC" c: "FLAC",
} },
} },
}, },
h: { h: {
t: { t: {
m: { m: {
l: "HTML" l: "HTML",
} },
} },
}, },
m: { m: {
4: { 4: {
a: "M4A", a: "M4A",
b: "M4B" b: "M4B",
}, },
o: { o: {
b: { b: {
i: "MOBI" i: "MOBI",
} },
}, },
p: { p: {
3: "MP3" 3: "MP3",
} },
}, },
o: { o: {
g: { g: {
g: "OGG" g: "OGG",
} },
}, },
p: { p: {
d: { d: {
f: "PDF" f: "PDF",
}, },
l: { l: {
a: { a: {
@ -154,13 +154,13 @@ const tries = {
t: { t: {
e: { e: {
x: { x: {
t: "Plaintext" t: "Plaintext",
} },
} },
} },
} },
} },
} },
}, },
r: { r: {
i: { i: {
@ -170,15 +170,15 @@ const tries = {
b: { b: {
o: { o: {
o: { o: {
k: "Print book" k: "Print book",
} },
} },
} },
} },
} },
} },
} },
} },
} },
} },
}; };

View file

@ -352,8 +352,8 @@ let BookWyrm = new (class {
method: "POST", method: "POST",
body: new FormData(form), body: new FormData(form),
headers: { headers: {
Accept: "application/json" Accept: "application/json",
} },
}); });
} }
@ -620,7 +620,7 @@ let BookWyrm = new (class {
'input:not([type="hidden"]):not([disabled])', 'input:not([type="hidden"]):not([disabled])',
"select:not([disabled])", "select:not([disabled])",
"details:not([disabled])", "details:not([disabled])",
'[tabindex]:not([tabindex="-1"]):not([disabled])' '[tabindex]:not([tabindex="-1"]):not([disabled])',
].join(",") ].join(",")
); );
const firstFocusableEl = focusableEls[0]; const firstFocusableEl = focusableEls[0];
@ -675,8 +675,8 @@ let BookWyrm = new (class {
target: scannerNode, target: scannerNode,
constraints: { constraints: {
facingMode: "environment", facingMode: "environment",
deviceId: cameraId deviceId: cameraId,
} },
}, },
decoder: { decoder: {
readers: [ readers: [
@ -684,12 +684,12 @@ let BookWyrm = new (class {
{ {
format: "ean_reader", format: "ean_reader",
config: { config: {
supplements: ["ean_2_reader", "ean_5_reader"] supplements: ["ean_2_reader", "ean_5_reader"],
} },
} },
], ],
multiple: false multiple: false,
} },
}, },
(err) => { (err) => {
if (err) { if (err) {
@ -756,7 +756,7 @@ let BookWyrm = new (class {
.forEach((box) => { .forEach((box) => {
Quagga.ImageDebug.drawPath(box, { x: 0, y: 1 }, drawingCtx, { Quagga.ImageDebug.drawPath(box, { x: 0, y: 1 }, drawingCtx, {
color: "green", color: "green",
lineWidth: 2 lineWidth: 2,
}); });
}); });
} }
@ -764,14 +764,14 @@ let BookWyrm = new (class {
if (result.box) { if (result.box) {
Quagga.ImageDebug.drawPath(result.box, { x: 0, y: 1 }, drawingCtx, { Quagga.ImageDebug.drawPath(result.box, { x: 0, y: 1 }, drawingCtx, {
color: "#00F", color: "#00F",
lineWidth: 2 lineWidth: 2,
}); });
} }
if (result.codeResult && result.codeResult.code) { if (result.codeResult && result.codeResult.code) {
Quagga.ImageDebug.drawPath(result.line, { x: "x", y: "y" }, drawingCtx, { Quagga.ImageDebug.drawPath(result.line, { x: "x", y: "y" }, drawingCtx, {
color: "red", color: "red",
lineWidth: 3 lineWidth: 3,
}); });
} }
} }

View file

@ -9,10 +9,10 @@ function disableGuidedTour(csrf_token) {
"use strict"; "use strict";
fetch("/guided-tour/False", { fetch("/guided-tour/False", {
headers: { headers: {
"X-CSRFToken": csrf_token "X-CSRFToken": csrf_token,
}, },
method: "POST", method: "POST",
redirect: "follow", redirect: "follow",
mode: "same-origin" mode: "same-origin",
}); });
} }

View file

@ -32,7 +32,7 @@ class TabGroup {
left: 37, left: 37,
up: 38, up: 38,
right: 39, right: 39,
down: 40 down: 40,
}; };
} }
@ -42,7 +42,7 @@ class TabGroup {
37: -1, 37: -1,
38: -1, 38: -1,
39: 1, 39: 1,
40: 1 40: 1,
}; };
} }