|
|
@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { |
|
|
|
(typeof window !== 'undefined' ? window : this).PDFJS = {}; |
|
|
|
(typeof window !== 'undefined' ? window : this).PDFJS = {}; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
PDFJS.version = '1.0.876'; |
|
|
|
PDFJS.version = '1.0.878'; |
|
|
|
PDFJS.build = '2b8ff7b'; |
|
|
|
PDFJS.build = 'dc30dba'; |
|
|
|
|
|
|
|
|
|
|
|
(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
|
|
|
@ -2609,6 +2609,7 @@ var WorkerTransport = (function WorkerTransportClosure() { |
|
|
|
|
|
|
|
|
|
|
|
fetchDocument: function WorkerTransport_fetchDocument(source) { |
|
|
|
fetchDocument: function WorkerTransport_fetchDocument(source) { |
|
|
|
source.disableAutoFetch = PDFJS.disableAutoFetch; |
|
|
|
source.disableAutoFetch = PDFJS.disableAutoFetch; |
|
|
|
|
|
|
|
source.disableStream = PDFJS.disableStream; |
|
|
|
source.chunkedViewerLoading = !!this.pdfDataRangeTransport; |
|
|
|
source.chunkedViewerLoading = !!this.pdfDataRangeTransport; |
|
|
|
this.messageHandler.send('GetDocRequest', { |
|
|
|
this.messageHandler.send('GetDocRequest', { |
|
|
|
source: source, |
|
|
|
source: source, |
|
|
@ -39570,7 +39571,7 @@ var WorkerMessageHandler = PDFJS.WorkerMessageHandler = { |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
onProgressiveData: PDFJS.disableStream ? null : |
|
|
|
onProgressiveData: source.disableStream ? null : |
|
|
|
function onProgressiveData(chunk) { |
|
|
|
function onProgressiveData(chunk) { |
|
|
|
if (!pdfManager) { |
|
|
|
if (!pdfManager) { |
|
|
|
cachedChunks.push(chunk); |
|
|
|
cachedChunks.push(chunk); |
|
|
|