Merge pull request #2808 from q--/Detect_PDF.js_version

Add new ways to detect PDF.js and its version
main
Elbert Alias 5 years ago committed by GitHub
commit 50afdb1907
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -8028,8 +8028,12 @@
"html": "<\\/div>\\s*<!-- outerContainer -->\\s*<div\\s*id=\"printContainer\"><\\/div>", "html": "<\\/div>\\s*<!-- outerContainer -->\\s*<div\\s*id=\"printContainer\"><\\/div>",
"icon": "PDF.js.svg", "icon": "PDF.js.svg",
"js": { "js": {
"_pdfjsCompatibilityChecked": "",
"PDFJS": "", "PDFJS": "",
"PDFJS.version": "^(.+)$\\;version:\\1" "PDFJS.version": "^(.+)$\\;version:\\1",
"pdfjsLib.version": "^(.+)$\\;version:\\1",
"pdfjs-dist/build/pdf.version": "^(.+)$\\;version:\\1",
"pdfjsDistBuildPdf.version": "^(.+)$\\;version:\\1"
}, },
"url": "/web/viewer\\.html?file=[^&]\\.pdf", "url": "/web/viewer\\.html?file=[^&]\\.pdf",
"website": "https://mozilla.github.io/pdf.js/" "website": "https://mozilla.github.io/pdf.js/"

Loading…
Cancel
Save