Skip to content

Commit d891185

Browse files
committed
Bump version and fix readme
1 parent 8848adf commit d891185

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,16 @@ If you find `pdfjs-viewer-element` useful and want to support its development, c
4242

4343
**You should download and place the PDF.js prebuilt files in the project.**
4444

45-
`pdfjs-viewer-element` requires PDF.js [prebuilt](http://mozilla.github.io/pdf.js/getting_started/), that includes the generic build of PDF.js and the viewer.
45+
`pdfjs-viewer-element` requires [PDF.js prebuilt](http://mozilla.github.io/pdf.js/getting_started/), that includes the generic build of PDF.js and the viewer.
4646

47-
The prebuilt comes with each PDF.js release.
48-
All v4 and v3 [releases](https://github.com/mozilla/pdf.js/releases) are supported.
47+
The prebuilt comes with each PDF.js release.
4948

50-
Then specify the path to the directory with the `viewer-path` property (`/pdfjs` by default) and PDF file URL with `src` property (should refer to the [same origin](https://github.com/mozilla/pdf.js/wiki/Frequently-Asked-Questions#can-i-load-a-pdf-from-another-server-cross-domain-request)).
49+
[PDF.JS releases](https://github.com/mozilla/pdf.js/releases)
50+
51+
✅ All v4 and v3 releases are fully supported.
52+
🚧 For v5 releases - there are some breaking changes that affects styles injecting, and theme changing not work anymore.
53+
54+
After placing the prebuild specify the path to the directory with the `viewer-path` property (`/pdfjs` by default) and PDF file URL with `src` property (should refer to the [same origin](https://github.com/mozilla/pdf.js/wiki/Frequently-Asked-Questions#can-i-load-a-pdf-from-another-server-cross-domain-request)).
5155

5256
## Install
5357

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pdfjs-viewer-element",
3-
"version": "2.7.1",
3+
"version": "2.7.2",
44
"license": "MIT",
55
"author": {
66
"name": "Oleksandr Shevchuk",

0 commit comments

Comments
 (0)