Add new ways to detect PDF.js and its version

main
q-- 5 years ago
parent 0d714bc347
commit 584a303507

@ -7791,8 +7791,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