fix: add pdfjs at compatibility polyfill

Agent-Logs-Url: https://github.com/kekingcn/kkFileView/sessions/287f0212-d368-4b59-ae70-0374fb3fe76f

Co-authored-by: klboke <18591662+klboke@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-04-09 02:46:24 +00:00
committed by GitHub
parent 405a12ef07
commit 5499150395
4 changed files with 77 additions and 1 deletions

View File

@@ -29,6 +29,7 @@ See https://github.com/adobe-type-tools/cmap-resources
<!-- This snippet is used in production (included from viewer.html) -->
<link rel="resource" type="application/l10n" href="locale/locale.json" />
<script src="compatibility.mjs" type="module"></script>
<script src="../build/pdf.mjs" type="module"></script>
<link rel="stylesheet" href="viewer.css" />