Browse Source

PDF.js version 1.4.42 - See mozilla/pdf.js@4c59712606e67bd66bb982dbb465117a3d349afb

master v1.4.42
Pdf Bot 9 years ago
parent
commit
9e21e8941a
  1. 2
      bower.json
  2. 16
      build/pdf.combined.js
  3. 16
      build/pdf.js
  4. 4
      build/pdf.worker.js
  5. 2
      package.json

2
bower.json

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
{
"name": "pdfjs-dist",
"version": "1.4.39",
"version": "1.4.42",
"main": [
"build/pdf.js",
"build/pdf.worker.js"

16
build/pdf.combined.js

@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdfCombined = {})); @@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdfCombined = {}));
// Use strict in our context only - users might not want it
'use strict';
var pdfjsVersion = '1.4.39';
var pdfjsBuild = '974433a';
var pdfjsVersion = '1.4.42';
var pdfjsBuild = '4c59712';
var pdfjsFilePath =
typeof document !== 'undefined' && document.currentScript ?
@ -34410,6 +34410,11 @@ var PDFPageProxy = (function PDFPageProxyClosure() { @@ -34410,6 +34410,11 @@ var PDFPageProxy = (function PDFPageProxyClosure() {
function operatorListChanged() {
if (intentState.operatorList.lastChunk) {
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() { @@ -34418,9 +34423,10 @@ var PDFPageProxy = (function PDFPageProxyClosure() {
this.intentStates[renderingIntent] = Object.create(null);
}
var intentState = this.intentStates[renderingIntent];
var opListTask;
if (!intentState.opListReadCapability) {
var opListTask = {};
opListTask = {};
opListTask.operatorListChanged = operatorListChanged;
intentState.receivingOperatorList = true;
intentState.opListReadCapability = createPromiseCapability();
@ -34463,6 +34469,10 @@ var PDFPageProxy = (function PDFPageProxyClosure() { @@ -34463,6 +34469,10 @@ var PDFPageProxy = (function PDFPageProxyClosure() {
var waitOn = [];
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];
intentState.renderTasks.forEach(function(renderTask) {
var renderCompleted = renderTask.capability.promise.

16
build/pdf.js

@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdf = {})); @@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdf = {}));
// Use strict in our context only - users might not want it
'use strict';
var pdfjsVersion = '1.4.39';
var pdfjsBuild = '974433a';
var pdfjsVersion = '1.4.42';
var pdfjsBuild = '4c59712';
var pdfjsFilePath =
typeof document !== 'undefined' && document.currentScript ?
@ -9281,6 +9281,11 @@ var PDFPageProxy = (function PDFPageProxyClosure() { @@ -9281,6 +9281,11 @@ var PDFPageProxy = (function PDFPageProxyClosure() {
function operatorListChanged() {
if (intentState.operatorList.lastChunk) {
intentState.opListReadCapability.resolve(intentState.operatorList);
var i = intentState.renderTasks.indexOf(opListTask);
if (i >= 0) {
intentState.renderTasks.splice(i, 1);
}
}
}
@ -9289,9 +9294,10 @@ var PDFPageProxy = (function PDFPageProxyClosure() { @@ -9289,9 +9294,10 @@ var PDFPageProxy = (function PDFPageProxyClosure() {
this.intentStates[renderingIntent] = Object.create(null);
}
var intentState = this.intentStates[renderingIntent];
var opListTask;
if (!intentState.opListReadCapability) {
var opListTask = {};
opListTask = {};
opListTask.operatorListChanged = operatorListChanged;
intentState.receivingOperatorList = true;
intentState.opListReadCapability = createPromiseCapability();
@ -9334,6 +9340,10 @@ var PDFPageProxy = (function PDFPageProxyClosure() { @@ -9334,6 +9340,10 @@ var PDFPageProxy = (function PDFPageProxyClosure() {
var waitOn = [];
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];
intentState.renderTasks.forEach(function(renderTask) {
var renderCompleted = renderTask.capability.promise.

4
build/pdf.worker.js vendored

@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdfWorker = {})); @@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdfWorker = {}));
// Use strict in our context only - users might not want it
'use strict';
var pdfjsVersion = '1.4.39';
var pdfjsBuild = '974433a';
var pdfjsVersion = '1.4.42';
var pdfjsBuild = '4c59712';
var pdfjsFilePath =
typeof document !== 'undefined' && document.currentScript ?

2
package.json

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
{
"name": "pdfjs-dist",
"version": "1.4.39",
"version": "1.4.42",
"main": "build/pdf.js",
"description": "Generic build of Mozilla's PDF.js library.",
"keywords": [

Loading…
Cancel
Save