|
|
|
@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
|
|
|
|
|
(typeof window !== 'undefined' ? window : this).PDFJS = {}; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
PDFJS.version = '1.1.122'; |
|
|
|
|
PDFJS.build = '00f3756'; |
|
|
|
|
PDFJS.version = '1.1.124'; |
|
|
|
|
PDFJS.build = 'd87c1ec'; |
|
|
|
|
|
|
|
|
|
(function pdfjsWrapper() { |
|
|
|
|
// Use strict in our context only - users might not want it
|
|
|
|
@ -2321,6 +2321,7 @@ var PDFPageProxy = (function PDFPageProxyClosure() {
@@ -2321,6 +2321,7 @@ var PDFPageProxy = (function PDFPageProxyClosure() {
|
|
|
|
|
this.commonObjs, |
|
|
|
|
intentState.operatorList, |
|
|
|
|
this.pageNumber); |
|
|
|
|
internalRenderTask.useRequestAnimationFrame = renderingIntent !== 'print'; |
|
|
|
|
if (!intentState.renderTasks) { |
|
|
|
|
intentState.renderTasks = []; |
|
|
|
|
} |
|
|
|
@ -3082,6 +3083,7 @@ var InternalRenderTask = (function InternalRenderTaskClosure() {
@@ -3082,6 +3083,7 @@ var InternalRenderTask = (function InternalRenderTaskClosure() {
|
|
|
|
|
this.running = false; |
|
|
|
|
this.graphicsReadyCallback = null; |
|
|
|
|
this.graphicsReady = false; |
|
|
|
|
this.useRequestAnimationFrame = false; |
|
|
|
|
this.cancelled = false; |
|
|
|
|
this.capability = createPromiseCapability(); |
|
|
|
|
this.task = new RenderTask(this); |
|
|
|
@ -3155,7 +3157,11 @@ var InternalRenderTask = (function InternalRenderTaskClosure() {
@@ -3155,7 +3157,11 @@ var InternalRenderTask = (function InternalRenderTaskClosure() {
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
_scheduleNext: function InternalRenderTask__scheduleNext() { |
|
|
|
|
if (this.useRequestAnimationFrame) { |
|
|
|
|
window.requestAnimationFrame(this._nextBound); |
|
|
|
|
} else { |
|
|
|
|
Promise.resolve(undefined).then(this._nextBound); |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
_next: function InternalRenderTask__next() { |
|
|
|
|