Browse Source

PDF.js version 1.0.308

master v1.0.308
Yury Delendik 10 years ago
parent
commit
4a8e00741e
  1. 2
      bower.json
  2. 16
      build/pdf.combined.js
  3. 4
      build/pdf.js
  4. 16
      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.306",
"version": "1.0.308",
"keywords": [
"Mozilla",
"pdf",

16
build/pdf.combined.js

@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') { @@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {};
}
PDFJS.version = '1.0.306';
PDFJS.build = '2da1942';
PDFJS.version = '1.0.308';
PDFJS.build = 'fc85cfd';
(function pdfjsWrapper() {
// Use strict in our context only - users might not want it
@ -9438,9 +9438,10 @@ var XRef = (function XRefClosure() { @@ -9438,9 +9438,10 @@ var XRef = (function XRefClosure() {
} else {
xrefEntry = this.fetchCompressed(xrefEntry, suppressEncryption);
}
if (isDict(xrefEntry)) {
if (isDict(xrefEntry)){
xrefEntry.objId = 'R' + ref.num + '.' + ref.gen;
} else if (isStream(xrefEntry)) {
xrefEntry.dict.objId = 'R' + ref.num + '.' + ref.gen;
}
return xrefEntry;
},
@ -20092,6 +20093,13 @@ var PartialEvaluator = (function PartialEvaluatorClosure() { @@ -20092,6 +20093,13 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
if (!isStream(xObject)) {
continue;
}
if (xObject.dict.objId) {
if (processed[xObject.dict.objId]) {
// stream has objId and is processed already
continue;
}
processed[xObject.dict.objId] = true;
}
var xResources = xObject.dict.get('Resources');
// Checking objId to detect an infinite loop.
if (isDict(xResources) &&

4
build/pdf.js

@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') { @@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {};
}
PDFJS.version = '1.0.306';
PDFJS.build = '2da1942';
PDFJS.version = '1.0.308';
PDFJS.build = 'fc85cfd';
(function pdfjsWrapper() {
// Use strict in our context only - users might not want it

16
build/pdf.worker.js vendored

@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') { @@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {};
}
PDFJS.version = '1.0.306';
PDFJS.build = '2da1942';
PDFJS.version = '1.0.308';
PDFJS.build = 'fc85cfd';
(function pdfjsWrapper() {
// Use strict in our context only - users might not want it
@ -4931,9 +4931,10 @@ var XRef = (function XRefClosure() { @@ -4931,9 +4931,10 @@ var XRef = (function XRefClosure() {
} else {
xrefEntry = this.fetchCompressed(xrefEntry, suppressEncryption);
}
if (isDict(xrefEntry)) {
if (isDict(xrefEntry)){
xrefEntry.objId = 'R' + ref.num + '.' + ref.gen;
} else if (isStream(xrefEntry)) {
xrefEntry.dict.objId = 'R' + ref.num + '.' + ref.gen;
}
return xrefEntry;
},
@ -15585,6 +15586,13 @@ var PartialEvaluator = (function PartialEvaluatorClosure() { @@ -15585,6 +15586,13 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
if (!isStream(xObject)) {
continue;
}
if (xObject.dict.objId) {
if (processed[xObject.dict.objId]) {
// stream has objId and is processed already
continue;
}
processed[xObject.dict.objId] = true;
}
var xResources = xObject.dict.get('Resources');
// Checking objId to detect an infinite loop.
if (isDict(xResources) &&

2
package.json

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

Loading…
Cancel
Save