Browse Source

PDF.js version 1.1.293

master v1.1.293
Pdf Bot 10 years ago
parent
commit
e74dbbd76b
  1. 2
      bower.json
  2. 22
      build/pdf.combined.js
  3. 4
      build/pdf.js
  4. 22
      build/pdf.worker.js
  5. 2
      package.json

2
bower.json

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

22
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.290'; PDFJS.version = '1.1.293';
PDFJS.build = 'e498bbc'; PDFJS.build = '1416a1b';
(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
@ -10006,7 +10006,7 @@ var Catalog = (function CatalogClosure() {
} }
var xref = this.xref; var xref = this.xref;
var dest, nameTreeRef, nameDictionaryRef; var dest = null, nameTreeRef, nameDictionaryRef;
var obj = this.catDict.get('Names'); var obj = this.catDict.get('Names');
if (obj && obj.has('Dests')) { if (obj && obj.has('Dests')) {
nameTreeRef = obj.getRaw('Dests'); nameTreeRef = obj.getRaw('Dests');
@ -10014,17 +10014,11 @@ var Catalog = (function CatalogClosure() {
nameDictionaryRef = this.catDict.get('Dests'); nameDictionaryRef = this.catDict.get('Dests');
} }
if (nameDictionaryRef) { if (nameDictionaryRef) { // Simple destination dictionary.
// reading simple destination dictionary var value = nameDictionaryRef.get(destinationId);
obj = nameDictionaryRef; if (value) {
obj.forEach(function catalogForEach(key, value) { dest = fetchDestination(value);
if (!value) { }
return;
}
if (key === destinationId) {
dest = fetchDestination(value);
}
});
} }
if (nameTreeRef) { if (nameTreeRef) {
var nameTree = new NameTree(nameTreeRef, xref); var nameTree = new NameTree(nameTreeRef, xref);

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.290'; PDFJS.version = '1.1.293';
PDFJS.build = 'e498bbc'; PDFJS.build = '1416a1b';
(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

22
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.290'; PDFJS.version = '1.1.293';
PDFJS.build = 'e498bbc'; PDFJS.build = '1416a1b';
(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
@ -3600,7 +3600,7 @@ var Catalog = (function CatalogClosure() {
} }
var xref = this.xref; var xref = this.xref;
var dest, nameTreeRef, nameDictionaryRef; var dest = null, nameTreeRef, nameDictionaryRef;
var obj = this.catDict.get('Names'); var obj = this.catDict.get('Names');
if (obj && obj.has('Dests')) { if (obj && obj.has('Dests')) {
nameTreeRef = obj.getRaw('Dests'); nameTreeRef = obj.getRaw('Dests');
@ -3608,17 +3608,11 @@ var Catalog = (function CatalogClosure() {
nameDictionaryRef = this.catDict.get('Dests'); nameDictionaryRef = this.catDict.get('Dests');
} }
if (nameDictionaryRef) { if (nameDictionaryRef) { // Simple destination dictionary.
// reading simple destination dictionary var value = nameDictionaryRef.get(destinationId);
obj = nameDictionaryRef; if (value) {
obj.forEach(function catalogForEach(key, value) { dest = fetchDestination(value);
if (!value) { }
return;
}
if (key === destinationId) {
dest = fetchDestination(value);
}
});
} }
if (nameTreeRef) { if (nameTreeRef) {
var nameTree = new NameTree(nameTreeRef, xref); var nameTree = new NameTree(nameTreeRef, xref);

2
package.json

@ -1,6 +1,6 @@
{ {
"name": "pdfjs-dist", "name": "pdfjs-dist",
"version": "1.1.290", "version": "1.1.293",
"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