Skip to content

Commit 55458be

Browse files
committed
[Chore] remove unused code
1 parent 8fbd935 commit 55458be

1 file changed

Lines changed: 0 additions & 52 deletions

File tree

app/index.html

Lines changed: 0 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -65,57 +65,5 @@
6565
</g>
6666
</svg>
6767
</div>
68-
<div id="loading-log" style="font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;font-size:16px;line-height:1.6;height:4.8em;overflow:hidden;width:90vw;max-width:420px;margin-bottom:24px;">
69-
<div><span style="color:#34d399;">[ OK ]</span> Style loaded</div>
70-
</div>
71-
<script>
72-
(function () {
73-
var log = document.getElementById("loading-log");
74-
if (!log) {
75-
return;
76-
}
77-
78-
var steps = [
79-
"Brain mounted",
80-
"Reached target Graphical Interface",
81-
"Fake Terminal loaded",
82-
"Restored session cache",
83-
"Initialized virtual console",
84-
"Indexed command registry",
85-
"Prepared workspace",
86-
"Primed render pipeline",
87-
"Handshaking with UI core",
88-
];
89-
90-
var index = 0;
91-
var interval = 200;
92-
var ok_label = '<span style="color:#34d399;">[ OK ]</span> ';
93-
var working_label = '<span style="color:#facc15;">[ Working ]</span> ';
94-
95-
function appendLine(text, label) {
96-
var line = document.createElement("div");
97-
line.innerHTML = label + text;
98-
log.appendChild(line);
99-
while (log.children.length > 3) {
100-
log.removeChild(log.firstChild);
101-
}
102-
}
103-
104-
function tick() {
105-
if (index >= steps.length) {
106-
return;
107-
}
108-
109-
var is_last = index === steps.length - 1;
110-
appendLine(steps[index], is_last ? working_label : ok_label);
111-
index += 1;
112-
if (index < steps.length) {
113-
setTimeout(tick, interval);
114-
}
115-
}
116-
117-
setTimeout(tick, interval);
118-
})();
119-
</script>
12068
</body>
12169
</html>

0 commit comments

Comments
 (0)