pdfjs-dist-viewer-min
Advanced tools
Comparing version 2.6.347 to 2.7.570
@@ -7,2 +7,3 @@ { | ||
"enablePrintAutoRotate": false, | ||
"enableScripting": false, | ||
"enableWebGL": false, | ||
@@ -20,2 +21,3 @@ "externalLinkTarget": 0, | ||
"useOnlyCssZoom": false, | ||
"viewerCssTheme": 0, | ||
"viewOnLoad": 0, | ||
@@ -22,0 +24,0 @@ "disableAutoFetch": false, |
@@ -46,2 +46,6 @@ "use strict"; | ||
}, | ||
enableScripting: { | ||
value: false, | ||
kind: OptionKind.VIEWER + OptionKind.PREFERENCE | ||
}, | ||
enableWebGL: { | ||
@@ -112,2 +116,6 @@ value: false, | ||
}, | ||
viewerCssTheme: { | ||
value: 0, | ||
kind: OptionKind.VIEWER + OptionKind.PREFERENCE | ||
}, | ||
viewOnLoad: { | ||
@@ -233,2 +241,8 @@ value: 0, | ||
static setAll(options) { | ||
for (const name in options) { | ||
userOptions[name] = options[name]; | ||
} | ||
} | ||
static remove(name) { | ||
@@ -235,0 +249,0 @@ delete userOptions[name]; |
@@ -13,3 +13,2 @@ "use strict"; | ||
const isAndroid = /Android/.test(userAgent); | ||
const isIE = /Trident/.test(userAgent); | ||
const isIOS = /\b(iPad|iPhone|iPod)(?=;)/.test(userAgent) || platform === "MacIntel" && maxTouchPoints > 1; | ||
@@ -19,3 +18,3 @@ const isIOSChrome = /CriOS/.test(userAgent); | ||
(function checkOnBlobSupport() { | ||
if (isIE || isIOSChrome) { | ||
if (isIOSChrome) { | ||
compatibilityParams.disableCreateObjectURL = true; | ||
@@ -22,0 +21,0 @@ } |
{ | ||
"version": "2.6.347", | ||
"build": 347, | ||
"commit": "3be9c65f0" | ||
"version": "2.7.570", | ||
"build": 570, | ||
"commit": "f2c7338b0" | ||
} |
{ | ||
"name": "pdfjs-dist-viewer-min", | ||
"version": "2.6.347", | ||
"version": "2.7.570", | ||
"description": "Generic minified build of Mozilla's PDF.js library including the viewer component.", | ||
@@ -5,0 +5,0 @@ "repository": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11196195
346
4598
189