Prechádzať zdrojové kódy

PDF.js version 1.1.381

Pdf Bot 9 rokov pred
rodič
commit
e6ae6b7dfc
5 zmenil súbory, kde vykonal 12 pridanie a 18 odobranie
  1. 1 1
      bower.json
  2. 4 7
      build/pdf.combined.js
  3. 2 2
      build/pdf.js
  4. 4 7
      build/pdf.worker.js
  5. 1 1
      package.json

+ 1 - 1
bower.json

@@ -1,6 +1,6 @@
 {
   "name": "pdfjs-dist",
-  "version": "1.1.379",
+  "version": "1.1.381",
   "main": [
     "build/pdf.js",
     "build/pdf.worker.js"

+ 4 - 7
build/pdf.combined.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.1.379';
-PDFJS.build = '8bc8eb1';
+PDFJS.version = '1.1.381';
+PDFJS.build = '88bf193';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -8035,18 +8035,15 @@ var NetworkManager = (function NetworkManagerClosure() {
   }
 
   var supportsMozChunked = (function supportsMozChunkedClosure() {
-    var x = new XMLHttpRequest();
     try {
+      var x = new XMLHttpRequest();
       // Firefox 37- required .open() to be called before setting responseType.
       // https://bugzilla.mozilla.org/show_bug.cgi?id=707484
-      x.open('GET', 'https://example.com');
-    } catch (e) {
       // Even though the URL is not visited, .open() could fail if the URL is
       // blocked, e.g. via the connect-src CSP directive or the NoScript addon.
       // When this error occurs, this feature detection method will mistakenly
       // report that moz-chunked-arraybuffer is not supported in Firefox 37-.
-    }
-    try {
+      x.open('GET', 'https://example.com');
       x.responseType = 'moz-chunked-arraybuffer';
       return x.responseType === 'moz-chunked-arraybuffer';
     } catch (e) {

+ 2 - 2
build/pdf.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.1.379';
-PDFJS.build = '8bc8eb1';
+PDFJS.version = '1.1.381';
+PDFJS.build = '88bf193';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it

+ 4 - 7
build/pdf.worker.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.1.379';
-PDFJS.build = '8bc8eb1';
+PDFJS.version = '1.1.381';
+PDFJS.build = '88bf193';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -1634,18 +1634,15 @@ var NetworkManager = (function NetworkManagerClosure() {
   }
 
   var supportsMozChunked = (function supportsMozChunkedClosure() {
-    var x = new XMLHttpRequest();
     try {
+      var x = new XMLHttpRequest();
       // Firefox 37- required .open() to be called before setting responseType.
       // https://bugzilla.mozilla.org/show_bug.cgi?id=707484
-      x.open('GET', 'https://example.com');
-    } catch (e) {
       // Even though the URL is not visited, .open() could fail if the URL is
       // blocked, e.g. via the connect-src CSP directive or the NoScript addon.
       // When this error occurs, this feature detection method will mistakenly
       // report that moz-chunked-arraybuffer is not supported in Firefox 37-.
-    }
-    try {
+      x.open('GET', 'https://example.com');
       x.responseType = 'moz-chunked-arraybuffer';
       return x.responseType === 'moz-chunked-arraybuffer';
     } catch (e) {

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "pdfjs-dist",
-  "version": "1.1.379",
+  "version": "1.1.381",
   "description": "Generic build of Mozilla's PDF.js library.",
   "keywords": [
     "Mozilla",