prettyify code

This commit is contained in:
Lee
2023-12-30 23:03:54 +00:00
parent 6fd5fdb7fe
commit ea15b979d5
28 changed files with 2179 additions and 1688 deletions

View File

@ -1,14 +1,22 @@
import { App } from './app'
import { App } from "./app";
const app = new App()
const app = new App();
document.addEventListener('DOMContentLoaded', () => {
app.init()
document.addEventListener(
"DOMContentLoaded",
() => {
app.init();
window.addEventListener('resize', function () {
app.percentageBar.redraw()
window.addEventListener(
"resize",
function () {
app.percentageBar.redraw();
// Delegate to GraphDisplayManager which can check if the resize is necessary
app.graphDisplayManager.requestResize()
}, false)
}, false)
// Delegate to GraphDisplayManager which can check if the resize is necessary
app.graphDisplayManager.requestResize();
},
false
);
},
false
);