aboutsummaryrefslogtreecommitdiff
path: root/ext/popup.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/popup.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/popup.html')
-rw-r--r--ext/popup.html49
1 files changed, 1 insertions, 48 deletions
diff --git a/ext/popup.html b/ext/popup.html
index 92186e4f..30e8a8c0 100644
--- a/ext/popup.html
+++ b/ext/popup.html
@@ -93,54 +93,7 @@
<div id="popup-menus"></div>
<!-- Scripts -->
-<script src="/js/core.js"></script>
-
-<script src="/js/yomichan.js"></script>
-
-<script src="/js/app/theme-controller.js"></script>
-<script src="/js/comm/api.js"></script>
-<script src="/js/comm/cross-frame-api.js"></script>
-<script src="/js/comm/frame-endpoint.js"></script>
-<script src="/js/data/anki-note-builder.js"></script>
-<script src="/js/data/anki-util.js"></script>
-<script src="/js/data/sandbox/array-buffer-util.js"></script>
-<script src="/js/data/sandbox/string-util.js"></script>
-<script src="/js/display/display.js"></script>
-<script src="/js/display/display-anki.js"></script>
-<script src="/js/display/display-audio.js"></script>
-<script src="/js/display/display-content-manager.js"></script>
-<script src="/js/display/display-generator.js"></script>
-<script src="/js/display/display-history.js"></script>
-<script src="/js/display/display-notification.js"></script>
-<script src="/js/display/display-profile-selection.js"></script>
-<script src="/js/display/display-resizer.js"></script>
-<script src="/js/display/element-overflow-controller.js"></script>
-<script src="/js/display/option-toggle-hotkey-handler.js"></script>
-<script src="/js/display/query-parser.js"></script>
-<script src="/js/display/sandbox/pronunciation-generator.js"></script>
-<script src="/js/display/sandbox/structured-content-generator.js"></script>
-<script src="/js/dom/document-focus-controller.js"></script>
-<script src="/js/dom/document-util.js"></script>
-<script src="/js/dom/dom-text-scanner.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/scroll-element.js"></script>
-<script src="/js/dom/text-source-element.js"></script>
-<script src="/js/dom/text-source-range.js"></script>
-<script src="/js/input/hotkey-handler.js"></script>
-<script src="/js/input/hotkey-help-controller.js"></script>
-<script src="/js/input/hotkey-util.js"></script>
-<script src="/js/language/sandbox/dictionary-data-util.js"></script>
-<script src="/js/language/sandbox/japanese-util.js"></script>
-<script src="/js/language/text-scanner.js"></script>
-<script src="/js/media/audio-system.js"></script>
-<script src="/js/media/media-util.js"></script>
-<script src="/js/media/text-to-speech-audio.js"></script>
-<script src="/js/script/dynamic-loader.js"></script>
-<script src="/js/templates/template-renderer-proxy.js"></script>
-
-<script src="/js/display/popup-main.js"></script>
+<script src="/js/display/popup-main.js" type="module"></script>
</body>
</html>