From e6ae6b7dfc336c8fa1c20f253181bd85f1afe836 Mon Sep 17 00:00:00 2001 From: Pdf Bot Date: Fri, 14 Aug 2015 09:34:27 +0100 Subject: [PATCH] PDF.js version 1.1.381 --- bower.json | 2 +- build/pdf.combined.js | 11 ++++------- build/pdf.js | 4 ++-- build/pdf.worker.js | 11 ++++------- package.json | 2 +- 5 files changed, 12 insertions(+), 18 deletions(-) diff --git a/bower.json b/bower.json index 0d9467411..1f95e4353 100644 --- a/bower.json +++ b/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" diff --git a/build/pdf.combined.js b/build/pdf.combined.js index 518040463..11c160a47 100644 --- a/build/pdf.combined.js +++ b/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) { diff --git a/build/pdf.js b/build/pdf.js index 8521e0630..e59f44a9e 100644 --- a/build/pdf.js +++ b/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 diff --git a/build/pdf.worker.js b/build/pdf.worker.js index 8e030744b..228c201b7 100644 --- a/build/pdf.worker.js +++ b/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) { diff --git a/package.json b/package.json index 362108b8a..3030087e0 100644 --- a/package.json +++ b/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",