Browse Source

PDF.js version 1.1.124

master v1.1.124
Pdf Bot 10 years ago
parent
commit
b7394c2d04
  1. 2
      bower.json
  2. 12
      build/pdf.combined.js
  3. 12
      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.1.122",
"version": "1.1.124",
"main": [
"build/pdf.js",
"build/pdf.worker.js"

12
build/pdf.combined.js

@ -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() {
window.requestAnimationFrame(this._nextBound);
if (this.useRequestAnimationFrame) {
window.requestAnimationFrame(this._nextBound);
} else {
Promise.resolve(undefined).then(this._nextBound);
}
},
_next: function InternalRenderTask__next() {

12
build/pdf.js

@ -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 = [];
}
@ -3126,6 +3127,7 @@ var InternalRenderTask = (function InternalRenderTaskClosure() { @@ -3126,6 +3127,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);
@ -3199,7 +3201,11 @@ var InternalRenderTask = (function InternalRenderTaskClosure() { @@ -3199,7 +3201,11 @@ var InternalRenderTask = (function InternalRenderTaskClosure() {
},
_scheduleNext: function InternalRenderTask__scheduleNext() {
window.requestAnimationFrame(this._nextBound);
if (this.useRequestAnimationFrame) {
window.requestAnimationFrame(this._nextBound);
} else {
Promise.resolve(undefined).then(this._nextBound);
}
},
_next: function InternalRenderTask__next() {

4
build/pdf.worker.js vendored

@ -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

2
package.json

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
{
"name": "pdfjs-dist",
"version": "1.1.122",
"version": "1.1.124",
"description": "Generic build of Mozilla's PDF.js library.",
"keywords": [
"Mozilla",

Loading…
Cancel
Save