mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-25 17:25:08 +02:00
Base: Format internal Ladybird pages with prettier
These are currently not checked by CI.
This commit is contained in:
Notes:
github-actions[bot]
2026-04-22 15:23:15 +00:00
Author: https://github.com/trflynn89 Commit: https://github.com/LadybirdBrowser/ladybird/commit/e1f731a514a Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/9037
@@ -1,4 +1,4 @@
|
||||
<!DOCTYPE html>
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
|
||||
@@ -587,7 +587,9 @@
|
||||
}
|
||||
|
||||
for (const dt of dl.children) {
|
||||
if (dt.tagName !== "DT") continue;
|
||||
if (dt.tagName !== "DT") {
|
||||
continue;
|
||||
}
|
||||
|
||||
const anchor = dt.querySelector(":scope > A");
|
||||
if (anchor) {
|
||||
@@ -663,7 +665,9 @@
|
||||
|
||||
importFileInput.addEventListener("change", () => {
|
||||
const file = importFileInput.files[0];
|
||||
if (!file) return;
|
||||
if (!file) {
|
||||
return;
|
||||
}
|
||||
|
||||
const reader = new FileReader();
|
||||
reader.onload = () => {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<!DOCTYPE html>
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
|
||||
@@ -109,8 +109,8 @@
|
||||
unitDisplay: "narrow",
|
||||
minimumFractionDigits: 2,
|
||||
maximumFractionDigits: 2,
|
||||
}
|
||||
})
|
||||
};
|
||||
});
|
||||
const cpuFormatter = new Intl.NumberFormat([], {
|
||||
minimumFractionDigits: 2,
|
||||
maximumFractionDigits: 2,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<!DOCTYPE html>
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<!DOCTYPE html>
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<!DOCTYPE html>
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
|
||||
Reference in New Issue
Block a user