|
@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
|
|
|
(typeof window !== 'undefined' ? window : this).PDFJS = {};
|
|
|
}
|
|
|
|
|
|
-PDFJS.version = '1.1.290';
|
|
|
-PDFJS.build = 'e498bbc';
|
|
|
+PDFJS.version = '1.1.293';
|
|
|
+PDFJS.build = '1416a1b';
|
|
|
|
|
|
(function pdfjsWrapper() {
|
|
|
// Use strict in our context only - users might not want it
|
|
@@ -10006,7 +10006,7 @@ var Catalog = (function CatalogClosure() {
|
|
|
}
|
|
|
|
|
|
var xref = this.xref;
|
|
|
- var dest, nameTreeRef, nameDictionaryRef;
|
|
|
+ var dest = null, nameTreeRef, nameDictionaryRef;
|
|
|
var obj = this.catDict.get('Names');
|
|
|
if (obj && obj.has('Dests')) {
|
|
|
nameTreeRef = obj.getRaw('Dests');
|
|
@@ -10014,17 +10014,11 @@ var Catalog = (function CatalogClosure() {
|
|
|
nameDictionaryRef = this.catDict.get('Dests');
|
|
|
}
|
|
|
|
|
|
- if (nameDictionaryRef) {
|
|
|
- // reading simple destination dictionary
|
|
|
- obj = nameDictionaryRef;
|
|
|
- obj.forEach(function catalogForEach(key, value) {
|
|
|
- if (!value) {
|
|
|
- return;
|
|
|
- }
|
|
|
- if (key === destinationId) {
|
|
|
- dest = fetchDestination(value);
|
|
|
- }
|
|
|
- });
|
|
|
+ if (nameDictionaryRef) { // Simple destination dictionary.
|
|
|
+ var value = nameDictionaryRef.get(destinationId);
|
|
|
+ if (value) {
|
|
|
+ dest = fetchDestination(value);
|
|
|
+ }
|
|
|
}
|
|
|
if (nameTreeRef) {
|
|
|
var nameTree = new NameTree(nameTreeRef, xref);
|