|
|
@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { |
|
|
|
(typeof window !== 'undefined' ? window : this).PDFJS = {}; |
|
|
|
(typeof window !== 'undefined' ? window : this).PDFJS = {}; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
PDFJS.version = '1.2.85'; |
|
|
|
PDFJS.version = '1.2.87'; |
|
|
|
PDFJS.build = '5b2015b'; |
|
|
|
PDFJS.build = '3c6df26'; |
|
|
|
|
|
|
|
|
|
|
|
(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
|
|
|
@ -8427,11 +8427,13 @@ var NetworkManager = (function NetworkManagerClosure() { |
|
|
|
}); |
|
|
|
}); |
|
|
|
} else if (pendingRequest.onProgressiveData) { |
|
|
|
} else if (pendingRequest.onProgressiveData) { |
|
|
|
pendingRequest.onDone(null); |
|
|
|
pendingRequest.onDone(null); |
|
|
|
} else { |
|
|
|
} else if (chunk) { |
|
|
|
pendingRequest.onDone({ |
|
|
|
pendingRequest.onDone({ |
|
|
|
begin: 0, |
|
|
|
begin: 0, |
|
|
|
chunk: chunk |
|
|
|
chunk: chunk |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
} else if (pendingRequest.onError) { |
|
|
|
|
|
|
|
pendingRequest.onError(xhr.status); |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
@ -41160,7 +41162,7 @@ var WorkerMessageHandler = PDFJS.WorkerMessageHandler = { |
|
|
|
|
|
|
|
|
|
|
|
onError: function onError(status) { |
|
|
|
onError: function onError(status) { |
|
|
|
var exception; |
|
|
|
var exception; |
|
|
|
if (status === 404) { |
|
|
|
if (status === 404 || status === 0 && /^file:/.test(source.url)) { |
|
|
|
exception = new MissingPDFException('Missing PDF "' + |
|
|
|
exception = new MissingPDFException('Missing PDF "' + |
|
|
|
source.url + '".'); |
|
|
|
source.url + '".'); |
|
|
|
handler.send('MissingPDF', exception); |
|
|
|
handler.send('MissingPDF', exception); |
|
|
|