Browse Source

PDF.js version 1.1.454

master v1.1.454
Pdf Bot 10 years ago
parent
commit
69015436ea
  1. 2
      bower.json
  2. 13
      build/pdf.combined.js
  3. 4
      build/pdf.js
  4. 13
      build/pdf.worker.js
  5. 2
      package.json

2
bower.json

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

13
build/pdf.combined.js

@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {}; (typeof window !== 'undefined' ? window : this).PDFJS = {};
} }
PDFJS.version = '1.1.452'; PDFJS.version = '1.1.454';
PDFJS.build = 'b360fd1'; PDFJS.build = '12b0b97';
(function pdfjsWrapper() { (function pdfjsWrapper() {
// Use strict in our context only - users might not want it // Use strict in our context only - users might not want it
@ -9523,12 +9523,11 @@ var PDFDocument = (function PDFDocumentClosure() {
return shadow(this, 'documentInfo', docInfo); return shadow(this, 'documentInfo', docInfo);
}, },
get fingerprint() { get fingerprint() {
var xref = this.xref, idArray, hash, fileID = ''; var xref = this.xref, hash, fileID = '';
var idArray = xref.trailer.get('ID');
if (xref.trailer.has('ID')) { if (idArray && isArray(idArray) && idArray[0] && isString(idArray[0]) &&
idArray = xref.trailer.get('ID'); idArray[0] !== EMPTY_FINGERPRINT) {
}
if (idArray && isArray(idArray) && idArray[0] !== EMPTY_FINGERPRINT) {
hash = stringToBytes(idArray[0]); hash = stringToBytes(idArray[0]);
} else { } else {
if (this.stream.ensureRange) { if (this.stream.ensureRange) {

4
build/pdf.js

@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {}; (typeof window !== 'undefined' ? window : this).PDFJS = {};
} }
PDFJS.version = '1.1.452'; PDFJS.version = '1.1.454';
PDFJS.build = 'b360fd1'; PDFJS.build = '12b0b97';
(function pdfjsWrapper() { (function pdfjsWrapper() {
// Use strict in our context only - users might not want it // Use strict in our context only - users might not want it

13
build/pdf.worker.js vendored

@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {}; (typeof window !== 'undefined' ? window : this).PDFJS = {};
} }
PDFJS.version = '1.1.452'; PDFJS.version = '1.1.454';
PDFJS.build = 'b360fd1'; PDFJS.build = '12b0b97';
(function pdfjsWrapper() { (function pdfjsWrapper() {
// Use strict in our context only - users might not want it // Use strict in our context only - users might not want it
@ -3066,12 +3066,11 @@ var PDFDocument = (function PDFDocumentClosure() {
return shadow(this, 'documentInfo', docInfo); return shadow(this, 'documentInfo', docInfo);
}, },
get fingerprint() { get fingerprint() {
var xref = this.xref, idArray, hash, fileID = ''; var xref = this.xref, hash, fileID = '';
var idArray = xref.trailer.get('ID');
if (xref.trailer.has('ID')) { if (idArray && isArray(idArray) && idArray[0] && isString(idArray[0]) &&
idArray = xref.trailer.get('ID'); idArray[0] !== EMPTY_FINGERPRINT) {
}
if (idArray && isArray(idArray) && idArray[0] !== EMPTY_FINGERPRINT) {
hash = stringToBytes(idArray[0]); hash = stringToBytes(idArray[0]);
} else { } else {
if (this.stream.ensureRange) { if (this.stream.ensureRange) {

2
package.json

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

Loading…
Cancel
Save