Browse Source

PDF.js version 1.1.299

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

2
bower.json

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

14
build/pdf.combined.js

@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { @@ -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() { @@ -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() { @@ -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() { @@ -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]);

4
build/pdf.js

@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { @@ -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

14
build/pdf.worker.js vendored

@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { @@ -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
@ -4509,7 +4509,7 @@ var NameTree = (function NameTreeClosure() { @@ -4509,7 +4509,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]);
}
}
}
@ -4548,9 +4548,9 @@ var NameTree = (function NameTreeClosure() { @@ -4548,9 +4548,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]);
@ -4574,9 +4574,9 @@ var NameTree = (function NameTreeClosure() { @@ -4574,9 +4574,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]);

2
package.json

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

Loading…
Cancel
Save