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. 18
      build/pdf.combined.js
  3. 4
      build/pdf.js
  4. 18
      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.290",
"version": "1.1.293",
"main": [
"build/pdf.js",
"build/pdf.worker.js"

18
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.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() { @@ -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() { @@ -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) {
if (nameDictionaryRef) { // Simple destination dictionary.
var value = nameDictionaryRef.get(destinationId);
if (value) {
dest = fetchDestination(value);
}
});
}
if (nameTreeRef) {
var nameTree = new NameTree(nameTreeRef, xref);

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.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

18
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.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
@ -3600,7 +3600,7 @@ var Catalog = (function CatalogClosure() { @@ -3600,7 +3600,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');
@ -3608,17 +3608,11 @@ var Catalog = (function CatalogClosure() { @@ -3608,17 +3608,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) {
if (nameDictionaryRef) { // Simple destination dictionary.
var value = nameDictionaryRef.get(destinationId);
if (value) {
dest = fetchDestination(value);
}
});
}
if (nameTreeRef) {
var nameTree = new NameTree(nameTreeRef, xref);

2
package.json

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

Loading…
Cancel
Save