|
@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
|
|
|
(typeof window !== 'undefined' ? window : this).PDFJS = {};
|
|
|
}
|
|
|
|
|
|
-PDFJS.version = '1.1.297';
|
|
|
-PDFJS.build = '76d225d';
|
|
|
+PDFJS.version = '1.1.299';
|
|
|
+PDFJS.build = '2817f00';
|
|
|
|
|
|
(function pdfjsWrapper() {
|
|
|
// Use strict in our context only - users might not want it
|
|
@@ -10915,7 +10915,7 @@ var NameTree = (function NameTreeClosure() {
|
|
|
var names = obj.get('Names');
|
|
|
if (names) {
|
|
|
for (i = 0, n = names.length; i < n; i += 2) {
|
|
|
- dict[names[i]] = xref.fetchIfRef(names[i + 1]);
|
|
|
+ dict[xref.fetchIfRef(names[i])] = xref.fetchIfRef(names[i + 1]);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -10954,9 +10954,9 @@ var NameTree = (function NameTreeClosure() {
|
|
|
var kid = xref.fetchIfRef(kids[m]);
|
|
|
var limits = kid.get('Limits');
|
|
|
|
|
|
- if (destinationId < limits[0]) {
|
|
|
+ if (destinationId < xref.fetchIfRef(limits[0])) {
|
|
|
r = m - 1;
|
|
|
- } else if (destinationId > limits[1]) {
|
|
|
+ } else if (destinationId > xref.fetchIfRef(limits[1])) {
|
|
|
l = m + 1;
|
|
|
} else {
|
|
|
kidsOrNames = xref.fetchIfRef(kids[m]);
|
|
@@ -10980,9 +10980,9 @@ var NameTree = (function NameTreeClosure() {
|
|
|
// Check only even indices (0, 2, 4, ...) because the
|
|
|
// odd indices contain the actual D array.
|
|
|
m = (l + r) & ~1;
|
|
|
- if (destinationId < names[m]) {
|
|
|
+ if (destinationId < xref.fetchIfRef(names[m])) {
|
|
|
r = m - 2;
|
|
|
- } else if (destinationId > names[m]) {
|
|
|
+ } else if (destinationId > xref.fetchIfRef(names[m])) {
|
|
|
l = m + 2;
|
|
|
} else {
|
|
|
return xref.fetchIfRef(names[m + 1]);
|