|
|
@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdfCombined = {})); |
|
|
|
// Use strict in our context only - users might not want it
|
|
|
|
// Use strict in our context only - users might not want it
|
|
|
|
'use strict'; |
|
|
|
'use strict'; |
|
|
|
|
|
|
|
|
|
|
|
var pdfjsVersion = '1.4.39'; |
|
|
|
var pdfjsVersion = '1.4.42'; |
|
|
|
var pdfjsBuild = '974433a'; |
|
|
|
var pdfjsBuild = '4c59712'; |
|
|
|
|
|
|
|
|
|
|
|
var pdfjsFilePath = |
|
|
|
var pdfjsFilePath = |
|
|
|
typeof document !== 'undefined' && document.currentScript ? |
|
|
|
typeof document !== 'undefined' && document.currentScript ? |
|
|
@ -34410,6 +34410,11 @@ var PDFPageProxy = (function PDFPageProxyClosure() { |
|
|
|
function operatorListChanged() { |
|
|
|
function operatorListChanged() { |
|
|
|
if (intentState.operatorList.lastChunk) { |
|
|
|
if (intentState.operatorList.lastChunk) { |
|
|
|
intentState.opListReadCapability.resolve(intentState.operatorList); |
|
|
|
intentState.opListReadCapability.resolve(intentState.operatorList); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var i = intentState.renderTasks.indexOf(opListTask); |
|
|
|
|
|
|
|
if (i >= 0) { |
|
|
|
|
|
|
|
intentState.renderTasks.splice(i, 1); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -34418,9 +34423,10 @@ var PDFPageProxy = (function PDFPageProxyClosure() { |
|
|
|
this.intentStates[renderingIntent] = Object.create(null); |
|
|
|
this.intentStates[renderingIntent] = Object.create(null); |
|
|
|
} |
|
|
|
} |
|
|
|
var intentState = this.intentStates[renderingIntent]; |
|
|
|
var intentState = this.intentStates[renderingIntent]; |
|
|
|
|
|
|
|
var opListTask; |
|
|
|
|
|
|
|
|
|
|
|
if (!intentState.opListReadCapability) { |
|
|
|
if (!intentState.opListReadCapability) { |
|
|
|
var opListTask = {}; |
|
|
|
opListTask = {}; |
|
|
|
opListTask.operatorListChanged = operatorListChanged; |
|
|
|
opListTask.operatorListChanged = operatorListChanged; |
|
|
|
intentState.receivingOperatorList = true; |
|
|
|
intentState.receivingOperatorList = true; |
|
|
|
intentState.opListReadCapability = createPromiseCapability(); |
|
|
|
intentState.opListReadCapability = createPromiseCapability(); |
|
|
@ -34463,6 +34469,10 @@ var PDFPageProxy = (function PDFPageProxyClosure() { |
|
|
|
|
|
|
|
|
|
|
|
var waitOn = []; |
|
|
|
var waitOn = []; |
|
|
|
Object.keys(this.intentStates).forEach(function(intent) { |
|
|
|
Object.keys(this.intentStates).forEach(function(intent) { |
|
|
|
|
|
|
|
if (intent === 'oplist') { |
|
|
|
|
|
|
|
// Avoid errors below, since the renderTasks are just stubs.
|
|
|
|
|
|
|
|
return; |
|
|
|
|
|
|
|
} |
|
|
|
var intentState = this.intentStates[intent]; |
|
|
|
var intentState = this.intentStates[intent]; |
|
|
|
intentState.renderTasks.forEach(function(renderTask) { |
|
|
|
intentState.renderTasks.forEach(function(renderTask) { |
|
|
|
var renderCompleted = renderTask.capability.promise. |
|
|
|
var renderCompleted = renderTask.capability.promise. |
|
|
|