diff --git a/frontend/src/calc/index.html b/frontend/src/calc/index.html index 20f1782..1f4676c 100644 --- a/frontend/src/calc/index.html +++ b/frontend/src/calc/index.html @@ -12,7 +12,18 @@
- diff --git a/frontend/src/calc/main.js b/frontend/src/calc/main.js deleted file mode 100644 index 01ba887..0000000 --- a/frontend/src/calc/main.js +++ /dev/null @@ -1,10 +0,0 @@ -import "../base.css"; - -import App from "./Calc.svelte"; -import { mount } from "svelte"; - -const args = { - target: document.getElementById("app"), -}; -const app = mount(App, args); -export default app; diff --git a/frontend/src/fm/index.html b/frontend/src/fm/index.html index bad9a3b..7c1c007 100644 --- a/frontend/src/fm/index.html +++ b/frontend/src/fm/index.html @@ -12,7 +12,18 @@ - diff --git a/frontend/src/fm/main.js b/frontend/src/fm/main.js deleted file mode 100644 index e155b21..0000000 --- a/frontend/src/fm/main.js +++ /dev/null @@ -1,10 +0,0 @@ -import "../base.css"; - -import fm from "./fm.svelte"; -import { mount } from "svelte"; - -const args = { - target: document.getElementById("app"), -}; -const app = mount(fm, args); -export default app; diff --git a/frontend/src/index.html b/frontend/src/index.html index 7ec2f59..e0f23b1 100644 --- a/frontend/src/index.html +++ b/frontend/src/index.html @@ -13,7 +13,18 @@ - diff --git a/frontend/src/main.js b/frontend/src/main.js deleted file mode 100644 index 84c2e97..0000000 --- a/frontend/src/main.js +++ /dev/null @@ -1,10 +0,0 @@ -import "./base.css"; - -import App from "./Main.svelte"; -import { mount } from "svelte"; - -const args = { - target: document.getElementById("app"), -}; -const app = mount(App, args); -export default app; diff --git a/frontend/src/qrscanner/index.html b/frontend/src/qrscanner/index.html index 7fbc6bc..a1eca9e 100644 --- a/frontend/src/qrscanner/index.html +++ b/frontend/src/qrscanner/index.html @@ -13,7 +13,14 @@ - diff --git a/frontend/src/qrscanner/main.js b/frontend/src/qrscanner/main.js deleted file mode 100644 index 35442fc..0000000 --- a/frontend/src/qrscanner/main.js +++ /dev/null @@ -1,9 +0,0 @@ -import "../base.css"; - -import App from "./qrscanner.svelte"; - -const args = { - target: document.getElementById("app"), -}; -const app = new App(args); -console.log("app:", app); diff --git a/frontend/src/reader/index.html b/frontend/src/reader/index.html index b51a0c9..f4d930c 100644 --- a/frontend/src/reader/index.html +++ b/frontend/src/reader/index.html @@ -12,7 +12,17 @@ - diff --git a/frontend/src/reader/main.js b/frontend/src/reader/main.js deleted file mode 100644 index 15f040f..0000000 --- a/frontend/src/reader/main.js +++ /dev/null @@ -1,9 +0,0 @@ -import "../base.css"; - -import Unzip from "./ComicBookReader.svelte"; - -const args = { - target: document.getElementById("app"), -}; -const app = new Unzip(args); -console.log(app); diff --git a/frontend/src/unzip/index.html b/frontend/src/unzip/index.html index f45b5c4..8158e9b 100644 --- a/frontend/src/unzip/index.html +++ b/frontend/src/unzip/index.html @@ -12,7 +12,18 @@ - diff --git a/frontend/src/unzip/main.js b/frontend/src/unzip/main.js deleted file mode 100644 index 92ce408..0000000 --- a/frontend/src/unzip/main.js +++ /dev/null @@ -1,10 +0,0 @@ -import "../base.css"; - -import Unzip from "./Unzip.svelte"; -import { mount } from "svelte"; - -const args = { - target: document.getElementById("app"), -}; -const app = mount(Unzip, args); -export default app; diff --git a/frontend/src/wc/Folder.svelte b/frontend/src/wc/Folder.svelte index 167ed49..37d02fd 100644 --- a/frontend/src/wc/Folder.svelte +++ b/frontend/src/wc/Folder.svelte @@ -262,61 +262,63 @@ } - -{#each entries as e, idx} - {@const name = fs.entryName(e)} - {@const size = fs.entryMeta(e, "size") || 0} - {@const metaDirs = fs.entryMeta(e, "dirs") || 0} - {@const metaFiles = fs.entryMeta(e, "files") || 0} - {@const metaLineCount = fs.entryMeta(e, "linecount") || 0} - {@const isDir = fs.entryIsDir(e)} - {@const excluded = isExcluded(fs, e)} - {#if isDir} -