refactor(js): avoid use of window.XXX and move to import/export
- change worker: do not cache html pages (not necessary) - remove use of window.XXX and maximize import/export, this will provide more clarety, show circular dependencies + you will benefit IDE help
This commit is contained in:
+1
-4
@@ -12,10 +12,7 @@
|
||||
<link rel="stylesheet" href="/css/views/auth.css">
|
||||
|
||||
<!-- Scripts -->
|
||||
<script src="/js/core/i18n.js"></script>
|
||||
<script src="/js/core/csrf.js"></script>
|
||||
<script src="/js/core/icons.js" defer></script>
|
||||
<script src="/js/features/auth/auth.js" defer></script>
|
||||
<script type="module" src="/js/features/auth/auth.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="auth-container">
|
||||
|
||||
Reference in New Issue
Block a user