Skip to content

Commit

Permalink
ELEMENTS-1755: update PDF.js to 4.2.67 & changes of ELEMENTS-1756
Browse files Browse the repository at this point in the history
  • Loading branch information
rakeshkumar1019 committed Sep 9, 2024
1 parent 14860f4 commit 1de9c73
Show file tree
Hide file tree
Showing 292 changed files with 149,649 additions and 27,858 deletions.
6 changes: 3 additions & 3 deletions ui/viewers/pdfjs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

The PDF.js viewer is built from the [PDF.js](https://github.com/mozilla/pdf.js/) GitHub repository and integrated into the current directory.

The current version is built from the [v2.6.347](https://github.com/mozilla/pdf.js/releases/tag/v2.12.313) tag.
The current version is built from the [v4.2.67](https://github.com/mozilla/pdf.js/releases/tag/v4.2.67) tag.

## How to Update

Expand All @@ -13,7 +13,7 @@ Clone the Repository:

Checkout the wanted commit/tag:

$ git checkout v2.12.313
$ git checkout v4.2.67

Apply the following patch to allow viewing a file in a static UI connected to a remote server with a CORS configuration allowing cross-domain requests:
- Revert file origin validation.
Expand Down Expand Up @@ -72,7 +72,7 @@ Copy the generic viewer:

Commit your changes:

$ git commit -am "ELEMENTS-XXX: update PDF.js to 2.12.313"
$ git commit -am "ELEMENTS-XXX: update PDF.js to 4.2.67"

# About Nuxeo

Expand Down
22 changes: 0 additions & 22 deletions ui/viewers/pdfjs/build/pdf.js

This file was deleted.

Loading

0 comments on commit 1de9c73

Please sign in to comment.