aboutsummaryrefslogtreecommitdiff
path: root/ext/search.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/search.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/search.html')
-rw-r--r--ext/search.html51
1 files changed, 1 insertions, 50 deletions
diff --git a/ext/search.html b/ext/search.html
index 460c0df8..8c595cc4 100644
--- a/ext/search.html
+++ b/ext/search.html
@@ -78,56 +78,7 @@
<div id="popup-menus"></div>
<!-- Scripts -->
-<script src="/lib/wanakana.min.js"></script>
-
-<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/clipboard-monitor.js"></script>
-<script src="/js/comm/cross-frame-api.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/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/display/search-action-popup-controller.js"></script>
-<script src="/js/display/search-display-controller.js"></script>
-<script src="/js/display/search-persistent-state-controller.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/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/search-main.js"></script>
+<script src="/js/display/search-main.js" type="module"></script>
</body>
</html>