Skip to content

Commit 07177fd

Browse files
committed
clean up
1 parent 8fdcf73 commit 07177fd

File tree

1 file changed

+30
-29
lines changed

1 file changed

+30
-29
lines changed

www/index.html

Lines changed: 30 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />
55
<meta
66
name="viewport"
7-
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
7+
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
8+
/>
89
<link rel="stylesheet" href="./res/icons/style.css" />
910
<link rel="stylesheet" href="./res/file-icons/style.css" />
1011

1112
<script>
1213
(function () {
13-
var __testEl = document.createElement('div');
14-
var __testChildEl = document.createElement('div');
14+
var __testEl = document.createElement("div");
15+
var __testChildEl = document.createElement("div");
1516
if (__testEl.append) {
1617
__testEl.append(__testChildEl);
1718
if (__testEl.children.length === 1) {
@@ -46,14 +47,14 @@
4647
type,
4748
listener,
4849
useCapture,
49-
allowed
50+
allowed,
5051
) {
51-
if (typeof useCapture === 'boolean') {
52+
if (typeof useCapture === "boolean") {
5253
allowed = useCapture;
5354
useCapture = undefined;
5455
}
5556

56-
if(type === 'contextmenu' && !allowed) {
57+
if (type === "contextmenu" && !allowed) {
5758
return;
5859
}
5960

@@ -63,8 +64,8 @@
6364
}
6465

6566
if (
66-
this.classList.contains('editor-container') &&
67-
startsWith(type, 'touch')
67+
this.classList.contains("editor-container") &&
68+
startsWith(type, "touch")
6869
) {
6970
if (!this.eventListeners) {
7071
this.eventListeners = {};
@@ -102,14 +103,14 @@
102103
<script src="./js/ace/ext-static_highlight.js"></script>
103104

104105
<script>
105-
var color = localStorage.getItem('__primary_color');
106-
var __bg_color = '#20202c';
106+
var color = localStorage.getItem("__primary_color");
107+
var __bg_color = "#20202c";
107108
if (color) {
108109
__bg_color = color;
109110
}
110111

111-
document.querySelector(':root').style.cssText =
112-
'--bg-color: ' + __bg_color;
112+
document.querySelector(":root").style.cssText =
113+
"--bg-color: " + __bg_color;
113114
</script>
114115

115116
<style>
@@ -123,7 +124,7 @@
123124

124125
body.loading.splash::before {
125126
content: attr(data-version);
126-
background-image: url('./res/logo/logo.svg');
127+
background-image: url("./res/logo/logo.svg");
127128
background-position: center;
128129
background-repeat: no-repeat;
129130
background-size: 180px;
@@ -161,21 +162,21 @@
161162

162163
<script src="./js/build/main.build.js"></script>
163164

164-
<title>Acode</title>
165-
<!--styles-->
166-
<link rel="stylesheet" href="./css/build/about.css">
167-
<link rel="stylesheet" href="./css/build/customTheme.css">
168-
<link rel="stylesheet" href="./css/build/donate.css">
169-
<link rel="stylesheet" href="./css/build/fileBrowser.css">
170-
<link rel="stylesheet" href="./css/build/main.css">
171-
<link rel="stylesheet" href="./css/build/plugins.css">
172-
<link rel="stylesheet" href="./css/build/src_pages_quickTools_quickTools_js.css">
173-
<link rel="stylesheet" href="./css/build/src_sidebarApps_extensions_index_js.css">
174-
<link rel="stylesheet" href="./css/build/src_sidebarApps_files_index_js.css">
175-
<link rel="stylesheet" href="./css/build/src_sidebarApps_searchInFiles_index_js.css">
176-
<link rel="stylesheet" href="./css/build/themeSetting.css">
177-
<!--styles_end-->
178-
</head>
165+
<title>Acode</title>
166+
<!--styles-->
167+
<link rel="stylesheet" href="./css/build/32.css" />
168+
<link rel="stylesheet" href="./css/build/383.css" />
169+
<link rel="stylesheet" href="./css/build/53.css" />
170+
<link rel="stylesheet" href="./css/build/609.css" />
171+
<link rel="stylesheet" href="./css/build/about.css" />
172+
<link rel="stylesheet" href="./css/build/customTheme.css" />
173+
<link rel="stylesheet" href="./css/build/donate.css" />
174+
<link rel="stylesheet" href="./css/build/fileBrowser.css" />
175+
<link rel="stylesheet" href="./css/build/main.css" />
176+
<link rel="stylesheet" href="./css/build/plugins.css" />
177+
<link rel="stylesheet" href="./css/build/themeSetting.css" />
178+
<!--styles_end-->
179+
</head>
179180

180181
<body class="loading splash" data-version="">
181182
<wc-page id="root" class="primary"></wc-page>

0 commit comments

Comments
 (0)