summaryrefslogtreecommitdiff
path: root/ext/permissions.html
diff options
context:
space:
mode:
authorDarius Jahandarie <djahandarie@gmail.com>2023-11-04 18:45:57 +0900
committerDarius Jahandarie <djahandarie@gmail.com>2023-11-04 18:45:57 +0900
commitef79eab44bfd000792c610b968b5ceefd41e76a0 (patch)
tree48b04f30f6248caedbd880801aa49402a9e8066a /ext/permissions.html
parent376151096431d4362e4baaacf0cef4a534e169f7 (diff)
Modernize codebase
- Use ES modules - Remove vendored libs and build them from npm using esbuild - Switch from JSZip to zip.js
Diffstat (limited to 'ext/permissions.html')
-rw-r--r--ext/permissions.html26
1 files changed, 1 insertions, 25 deletions
diff --git a/ext/permissions.html b/ext/permissions.html
index 376a9de5..61b0d363 100644
--- a/ext/permissions.html
+++ b/ext/permissions.html
@@ -239,31 +239,7 @@
<!-- Scripts -->
-<script src="/js/core.js"></script>
-
-<script src="/js/yomichan.js"></script>
-
-<script src="/js/comm/api.js"></script>
-<script src="/js/comm/cross-frame-api.js"></script>
-<script src="/js/data/anki-util.js"></script>
-<script src="/js/data/permissions-util.js"></script>
-<script src="/js/dom/document-focus-controller.js"></script>
-<script src="/js/dom/document-util.js"></script>
-<script src="/js/dom/html-template-collection.js"></script>
-<script src="/js/dom/panel-element.js"></script>
-<script src="/js/dom/popup-menu.js"></script>
-<script src="/js/dom/selector-observer.js"></script>
-<script src="/js/extension/environment.js"></script>
-<script src="/js/pages/common/extension-content-controller.js"></script>
-<script src="/js/pages/settings/modal.js"></script>
-<script src="/js/pages/settings/modal-controller.js"></script>
-<script src="/js/pages/settings/permissions-origin-controller.js"></script>
-<script src="/js/pages/settings/permissions-toggle-controller.js"></script>
-<script src="/js/pages/settings/persistent-storage-controller.js"></script>
-<script src="/js/pages/settings/settings-controller.js"></script>
-<script src="/js/pages/settings/settings-display-controller.js"></script>
-
-<script src="/js/pages/permissions-main.js"></script>
+<script src="/js/pages/permissions-main.js" type="module"></script>
</body>
</html>