summaryrefslogtreecommitdiff
path: root/ext/template-renderer.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/template-renderer.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/template-renderer.html')
-rw-r--r--ext/template-renderer.html16
1 files changed, 1 insertions, 15 deletions
diff --git a/ext/template-renderer.html b/ext/template-renderer.html
index faf6f73e..116f1a0c 100644
--- a/ext/template-renderer.html
+++ b/ext/template-renderer.html
@@ -15,21 +15,7 @@
<body>
<!-- Scripts -->
-<script src="/lib/handlebars.min.js"></script>
-
-<script src="/js/data/sandbox/anki-note-data-creator.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/sandbox/css-style-applier.js"></script>
-<script src="/js/language/sandbox/dictionary-data-util.js"></script>
-<script src="/js/language/sandbox/japanese-util.js"></script>
-<script src="/js/templates/sandbox/anki-template-renderer.js"></script>
-<script src="/js/templates/sandbox/anki-template-renderer-content-manager.js"></script>
-<script src="/js/templates/sandbox/template-renderer.js"></script>
-<script src="/js/templates/sandbox/template-renderer-frame-api.js"></script>
-<script src="/js/templates/sandbox/template-renderer-media-provider.js"></script>
-
-<script src="/js/templates/sandbox/template-renderer-frame-main.js"></script>
+<script src="/js/templates/sandbox/template-renderer-frame-main.js" type="module"></script>
</body>
</html>