Browse Source

PDF.js version 1.2.30 - See mozilla/pdf.js@4afd51ade66c8a7581259dd773737cc81e37d828

master v1.2.30
Pdf Bot 9 years ago
parent
commit
338b7162e9
  1. 2
      bower.json
  2. 10
      build/pdf.combined.js
  3. 10
      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.2.28",
"version": "1.2.30",
"main": [
"build/pdf.js",
"build/pdf.worker.js"

10
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.2.28';
PDFJS.build = '5111422';
PDFJS.version = '1.2.30';
PDFJS.build = '4afd51a';
(function pdfjsWrapper() {
// Use strict in our context only - users might not want it
@ -2794,6 +2794,9 @@ var WorkerTransport = (function WorkerTransportClosure() { @@ -2794,6 +2794,9 @@ var WorkerTransport = (function WorkerTransportClosure() {
}, this);
messageHandler.on('StartRenderPage', function transportRender(data) {
if (this.destroyed) {
return; // Ignore any pending requests if the worker was terminated.
}
var page = this.pageCache[data.pageIndex];
page.stats.timeEnd('Page Request');
@ -2801,6 +2804,9 @@ var WorkerTransport = (function WorkerTransportClosure() { @@ -2801,6 +2804,9 @@ var WorkerTransport = (function WorkerTransportClosure() {
}, this);
messageHandler.on('RenderPageChunk', function transportRender(data) {
if (this.destroyed) {
return; // Ignore any pending requests if the worker was terminated.
}
var page = this.pageCache[data.pageIndex];
page._renderPageChunk(data.operatorList, data.intent);

10
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.2.28';
PDFJS.build = '5111422';
PDFJS.version = '1.2.30';
PDFJS.build = '4afd51a';
(function pdfjsWrapper() {
// Use strict in our context only - users might not want it
@ -2847,6 +2847,9 @@ var WorkerTransport = (function WorkerTransportClosure() { @@ -2847,6 +2847,9 @@ var WorkerTransport = (function WorkerTransportClosure() {
}, this);
messageHandler.on('StartRenderPage', function transportRender(data) {
if (this.destroyed) {
return; // Ignore any pending requests if the worker was terminated.
}
var page = this.pageCache[data.pageIndex];
page.stats.timeEnd('Page Request');
@ -2854,6 +2857,9 @@ var WorkerTransport = (function WorkerTransportClosure() { @@ -2854,6 +2857,9 @@ var WorkerTransport = (function WorkerTransportClosure() {
}, this);
messageHandler.on('RenderPageChunk', function transportRender(data) {
if (this.destroyed) {
return; // Ignore any pending requests if the worker was terminated.
}
var page = this.pageCache[data.pageIndex];
page._renderPageChunk(data.operatorList, data.intent);

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.2.28';
PDFJS.build = '5111422';
PDFJS.version = '1.2.30';
PDFJS.build = '4afd51a';
(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.2.28",
"version": "1.2.30",
"description": "Generic build of Mozilla's PDF.js library.",
"keywords": [
"Mozilla",

Loading…
Cancel
Save