Spaces:
Running
Running
Update application/static/js/script.js
Browse files- application/static/js/script.js +13 -13
application/static/js/script.js
CHANGED
@@ -1,14 +1,14 @@
|
|
1 |
-
import UIManager from "./components/uiManager.js";
|
2 |
-
import Navbar from "./components/navbar.js";
|
3 |
-
class App{
|
4 |
-
constructor(){
|
5 |
-
this.uiManager = new UIManager()
|
6 |
-
this.navbar = new Navbar(this.uiManager);
|
7 |
-
}
|
8 |
-
run(){
|
9 |
-
this.uiManager.run();
|
10 |
-
this.navbar.run();
|
11 |
-
}
|
12 |
-
}
|
13 |
-
const app = new App()
|
14 |
app.run();
|
|
|
1 |
+
import UIManager from "./components/uiManager.js";
|
2 |
+
import Navbar from "./components/navbar.js";
|
3 |
+
class App{
|
4 |
+
constructor(){
|
5 |
+
this.uiManager = new UIManager()
|
6 |
+
this.navbar = new Navbar(this.uiManager);
|
7 |
+
}
|
8 |
+
run(){
|
9 |
+
this.uiManager.run();
|
10 |
+
this.navbar.run();
|
11 |
+
}
|
12 |
+
}
|
13 |
+
const app = new App()
|
14 |
app.run();
|