From de994a72a64a97167fd701347817367fba4b2bd1 Mon Sep 17 00:00:00 2001 From: Pdf Bot Date: Wed, 1 Oct 2014 22:47:26 +0100 Subject: [PATCH] PDF.js version 1.0.878 --- bower.json | 2 +- build/pdf.combined.js | 7 ++++--- build/pdf.js | 5 +++-- build/pdf.worker.js | 6 +++--- package.json | 2 +- 5 files changed, 12 insertions(+), 10 deletions(-) diff --git a/bower.json b/bower.json index 184269a99..f0c879995 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.0.876", + "version": "1.0.878", "main": [ "build/pdf.js", "build/pdf.worker.js" diff --git a/build/pdf.combined.js b/build/pdf.combined.js index e9b121fdb..bc33c586a 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.0.876'; -PDFJS.build = '2b8ff7b'; +PDFJS.version = '1.0.878'; +PDFJS.build = 'dc30dba'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -2609,6 +2609,7 @@ var WorkerTransport = (function WorkerTransportClosure() { fetchDocument: function WorkerTransport_fetchDocument(source) { source.disableAutoFetch = PDFJS.disableAutoFetch; + source.disableStream = PDFJS.disableStream; source.chunkedViewerLoading = !!this.pdfDataRangeTransport; this.messageHandler.send('GetDocRequest', { source: source, @@ -39570,7 +39571,7 @@ var WorkerMessageHandler = PDFJS.WorkerMessageHandler = { } }, - onProgressiveData: PDFJS.disableStream ? null : + onProgressiveData: source.disableStream ? null : function onProgressiveData(chunk) { if (!pdfManager) { cachedChunks.push(chunk); diff --git a/build/pdf.js b/build/pdf.js index 94697eca9..023d28f85 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.0.876'; -PDFJS.build = '2b8ff7b'; +PDFJS.version = '1.0.878'; +PDFJS.build = 'dc30dba'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -2653,6 +2653,7 @@ var WorkerTransport = (function WorkerTransportClosure() { fetchDocument: function WorkerTransport_fetchDocument(source) { source.disableAutoFetch = PDFJS.disableAutoFetch; + source.disableStream = PDFJS.disableStream; source.chunkedViewerLoading = !!this.pdfDataRangeTransport; this.messageHandler.send('GetDocRequest', { source: source, diff --git a/build/pdf.worker.js b/build/pdf.worker.js index 78a99314f..50db097c8 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.0.876'; -PDFJS.build = '2b8ff7b'; +PDFJS.version = '1.0.878'; +PDFJS.build = 'dc30dba'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -33462,7 +33462,7 @@ var WorkerMessageHandler = PDFJS.WorkerMessageHandler = { } }, - onProgressiveData: PDFJS.disableStream ? null : + onProgressiveData: source.disableStream ? null : function onProgressiveData(chunk) { if (!pdfManager) { cachedChunks.push(chunk); diff --git a/package.json b/package.json index 6f95b9438..82c86492a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.0.876", + "version": "1.0.878", "description": "Generic build of Mozilla's PDF.js library.", "keywords": [ "Mozilla",