Browse Source

PDF.js version 1.4.18 - See mozilla/pdf.js@1f2910b2a2cd3009e42712bcc38a2ffaa4b1ca6a

master v1.4.18
Pdf Bot 9 years ago
parent
commit
c5b957fe03
  1. 2
      bower.json
  2. 14
      build/pdf.combined.js
  3. 14
      build/pdf.js
  4. 14
      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.16",
"version": "1.4.18",
"main": [
"build/pdf.js",
"build/pdf.worker.js"

14
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.16';
var pdfjsBuild = '0558ffc';
var pdfjsVersion = '1.4.18';
var pdfjsBuild = '1f2910b';
var pdfjsFilePath =
typeof document !== 'undefined' && document.currentScript ?
@ -11174,13 +11174,15 @@ function loadJpegStream(id, imageUrl, objs) { @@ -11174,13 +11174,15 @@ function loadJpegStream(id, imageUrl, objs) {
// feature detect for URL constructor
var hasWorkingUrl = false;
if (typeof URL === 'function' && ('origin' in URL.prototype)) {
try {
try {
if (typeof URL === 'function' &&
typeof URL.prototype === 'object' &&
('origin' in URL.prototype)) {
var u = new URL('b', 'http://a');
u.pathname = 'c%20d';
hasWorkingUrl = u.href === 'http://a/c%20d';
} catch(e) {}
}
}
} catch(e) { }
if (hasWorkingUrl)
return;

14
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.16';
var pdfjsBuild = '0558ffc';
var pdfjsVersion = '1.4.18';
var pdfjsBuild = '1f2910b';
var pdfjsFilePath =
typeof document !== 'undefined' && document.currentScript ?
@ -1809,13 +1809,15 @@ function loadJpegStream(id, imageUrl, objs) { @@ -1809,13 +1809,15 @@ function loadJpegStream(id, imageUrl, objs) {
// feature detect for URL constructor
var hasWorkingUrl = false;
if (typeof URL === 'function' && ('origin' in URL.prototype)) {
try {
try {
if (typeof URL === 'function' &&
typeof URL.prototype === 'object' &&
('origin' in URL.prototype)) {
var u = new URL('b', 'http://a');
u.pathname = 'c%20d';
hasWorkingUrl = u.href === 'http://a/c%20d';
} catch(e) {}
}
}
} catch(e) { }
if (hasWorkingUrl)
return;

14
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.16';
var pdfjsBuild = '0558ffc';
var pdfjsVersion = '1.4.18';
var pdfjsBuild = '1f2910b';
var pdfjsFilePath =
typeof document !== 'undefined' && document.currentScript ?
@ -11106,13 +11106,15 @@ function loadJpegStream(id, imageUrl, objs) { @@ -11106,13 +11106,15 @@ function loadJpegStream(id, imageUrl, objs) {
// feature detect for URL constructor
var hasWorkingUrl = false;
if (typeof URL === 'function' && ('origin' in URL.prototype)) {
try {
try {
if (typeof URL === 'function' &&
typeof URL.prototype === 'object' &&
('origin' in URL.prototype)) {
var u = new URL('b', 'http://a');
u.pathname = 'c%20d';
hasWorkingUrl = u.href === 'http://a/c%20d';
} catch(e) {}
}
}
} catch(e) { }
if (hasWorkingUrl)
return;

2
package.json

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

Loading…
Cancel
Save