Skip to content

Commit

Permalink
Update PDF.js to version 3.11.174
Browse files Browse the repository at this point in the history
This version is the last version that does not use JS modules (hence the .mjs file extensions), which, AFAIK, are not readily compatible with the current architecture of i-LaTeX's webview.
  • Loading branch information
Daru13 committed Jan 30, 2024
1 parent 7f36298 commit 671cae1
Show file tree
Hide file tree
Showing 2 changed files with 14,466 additions and 12,745 deletions.
2 changes: 1 addition & 1 deletion src/webview/static-library-apis/PdfJsApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ export const lib: any = (window as any)["pdfjsLib"];

// Set up the worker URI (required by the lib)
// TODO: switch to a local URI (it requires to use a special URI computed by VSCode)
lib.GlobalWorkerOptions.workerSrc = "https://unpkg.com/pdfjs-dist@2.14.305/build/pdf.worker.min.js";
lib.GlobalWorkerOptions.workerSrc = "https://unpkg.com/pdfjs-dist@3.11.174/build/pdf.worker.min.js";
Loading

0 comments on commit 671cae1

Please sign in to comment.