|
|
@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') { |
|
|
|
(typeof window !== 'undefined' ? window : this).PDFJS = {}; |
|
|
|
(typeof window !== 'undefined' ? window : this).PDFJS = {}; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
PDFJS.version = '1.0.393'; |
|
|
|
PDFJS.version = '1.0.395'; |
|
|
|
PDFJS.build = '2282c98'; |
|
|
|
PDFJS.build = 'c4ed02e'; |
|
|
|
|
|
|
|
|
|
|
|
(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
|
|
|
@ -1584,6 +1584,10 @@ function loadJpegStream(id, imageUrl, objs) { |
|
|
|
img.onload = (function loadJpegStream_onloadClosure() { |
|
|
|
img.onload = (function loadJpegStream_onloadClosure() { |
|
|
|
objs.resolve(id, img); |
|
|
|
objs.resolve(id, img); |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
img.onerror = (function loadJpegStream_onerrorClosure() { |
|
|
|
|
|
|
|
objs.resolve(id, null); |
|
|
|
|
|
|
|
warn('Error during JPEG image loading'); |
|
|
|
|
|
|
|
}); |
|
|
|
img.src = imageUrl; |
|
|
|
img.src = imageUrl; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|