Browse Source

PDF.js version 1.0.661

master v1.0.661
Yury Delendik 10 years ago
parent
commit
494d5e04f0
  1. 2
      bower.json
  2. 9
      build/pdf.combined.js
  3. 9
      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.0.659",
"version": "1.0.661",
"keywords": [
"Mozilla",
"pdf",

9
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.0.659';
PDFJS.build = '7fb6c87';
PDFJS.version = '1.0.661';
PDFJS.build = '84584f9';
(function pdfjsWrapper() {
// Use strict in our context only - users might not want it
@ -2507,7 +2507,7 @@ var WorkerTransport = (function WorkerTransportClosure() { @@ -2507,7 +2507,7 @@ var WorkerTransport = (function WorkerTransportClosure() {
messageHandler.on('PageError', function transportError(data) {
var page = this.pageCache[data.pageNum - 1];
var intentState = page.intentStates[data.intent];
if (intentState.displayReadyCapability.promise) {
if (intentState.displayReadyCapability) {
intentState.displayReadyCapability.reject(data.error);
} else {
error(data.error);
@ -6001,6 +6001,9 @@ var FontLoader = { @@ -6001,6 +6001,9 @@ var FontLoader = {
return true;
}
// TODO other browsers
if (userAgent === 'node') {
return true;
}
return false;
})(),

9
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.0.659';
PDFJS.build = '7fb6c87';
PDFJS.version = '1.0.661';
PDFJS.build = '84584f9';
(function pdfjsWrapper() {
// Use strict in our context only - users might not want it
@ -2551,7 +2551,7 @@ var WorkerTransport = (function WorkerTransportClosure() { @@ -2551,7 +2551,7 @@ var WorkerTransport = (function WorkerTransportClosure() {
messageHandler.on('PageError', function transportError(data) {
var page = this.pageCache[data.pageNum - 1];
var intentState = page.intentStates[data.intent];
if (intentState.displayReadyCapability.promise) {
if (intentState.displayReadyCapability) {
intentState.displayReadyCapability.reject(data.error);
} else {
error(data.error);
@ -6045,6 +6045,9 @@ var FontLoader = { @@ -6045,6 +6045,9 @@ var FontLoader = {
return true;
}
// TODO other browsers
if (userAgent === 'node') {
return true;
}
return false;
})(),

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.0.659';
PDFJS.build = '7fb6c87';
PDFJS.version = '1.0.661';
PDFJS.build = '84584f9';
(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.0.659",
"version": "1.0.661",
"description": "Generic build of Mozilla's PDF.js library.",
"keywords": [
"Mozilla",

Loading…
Cancel
Save