Browse Source

PDF.js version 1.0.974

master v1.0.974
Pdf Bot 10 years ago
parent
commit
0b089beb00
  1. 2
      bower.json
  2. 7
      build/pdf.combined.js
  3. 4
      build/pdf.js
  4. 7
      build/pdf.worker.js
  5. 2
      package.json

2
bower.json

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

7
build/pdf.combined.js

@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {}; (typeof window !== 'undefined' ? window : this).PDFJS = {};
} }
PDFJS.version = '1.0.972'; PDFJS.version = '1.0.974';
PDFJS.build = 'c28f7d2'; PDFJS.build = '7f24b1d';
(function pdfjsWrapper() { (function pdfjsWrapper() {
// Use strict in our context only - users might not want it // Use strict in our context only - users might not want it
@ -7814,7 +7814,10 @@ var NetworkManager = (function NetworkManagerClosure() {
} }
if (args.onProgressiveData) { if (args.onProgressiveData) {
// Some legacy browsers might throw an exception.
try {
xhr.responseType = 'moz-chunked-arraybuffer'; xhr.responseType = 'moz-chunked-arraybuffer';
} catch(e) {}
if (xhr.responseType === 'moz-chunked-arraybuffer') { if (xhr.responseType === 'moz-chunked-arraybuffer') {
pendingRequest.onProgressiveData = args.onProgressiveData; pendingRequest.onProgressiveData = args.onProgressiveData;
pendingRequest.mozChunked = true; pendingRequest.mozChunked = true;

4
build/pdf.js

@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {}; (typeof window !== 'undefined' ? window : this).PDFJS = {};
} }
PDFJS.version = '1.0.972'; PDFJS.version = '1.0.974';
PDFJS.build = 'c28f7d2'; PDFJS.build = '7f24b1d';
(function pdfjsWrapper() { (function pdfjsWrapper() {
// Use strict in our context only - users might not want it // Use strict in our context only - users might not want it

7
build/pdf.worker.js vendored

@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {}; (typeof window !== 'undefined' ? window : this).PDFJS = {};
} }
PDFJS.version = '1.0.972'; PDFJS.version = '1.0.974';
PDFJS.build = 'c28f7d2'; PDFJS.build = '7f24b1d';
(function pdfjsWrapper() { (function pdfjsWrapper() {
// Use strict in our context only - users might not want it // Use strict in our context only - users might not want it
@ -1687,7 +1687,10 @@ var NetworkManager = (function NetworkManagerClosure() {
} }
if (args.onProgressiveData) { if (args.onProgressiveData) {
// Some legacy browsers might throw an exception.
try {
xhr.responseType = 'moz-chunked-arraybuffer'; xhr.responseType = 'moz-chunked-arraybuffer';
} catch(e) {}
if (xhr.responseType === 'moz-chunked-arraybuffer') { if (xhr.responseType === 'moz-chunked-arraybuffer') {
pendingRequest.onProgressiveData = args.onProgressiveData; pendingRequest.onProgressiveData = args.onProgressiveData;
pendingRequest.mozChunked = true; pendingRequest.mozChunked = true;

2
package.json

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

Loading…
Cancel
Save