-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscript.js
20 lines (18 loc) · 829 Bytes
/
script.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import LoginController from "./src/controller/login.controller.js";
import Register from "./src/views/register.js";
import Login from "./src/views/login.js"
import Home from "./src/views/home.js";
import registerController from "./src/controller/register.controller.js"
import Posts from "/src/controller/posts.controller.js"
import ApiController from "./src/controller/api.controller.js";
import userLogin from "./src/model/userlogin.js";
import UserRegister from "./src/model/userregister.js";
import Message from "./src/views/message.js";
import UserPost from "./src/model/userpost.js"
import Edition from "./src/views/edition.js"
import AllpostsController from "./src/controller/allposts.controller.js"
window.addEventListener("beforeunload",function()
{
localStorage.removeItem(ApiController.userId)
})
Login.render()