Browse Source

PDF.js version 1.0.203

Yury Delendik 11 years ago
parent
commit
96769deccd
5 changed files with 10 additions and 10 deletions
  1. 1 1
      bower.json
  2. 3 3
      build/pdf.combined.js
  3. 2 2
      build/pdf.js
  4. 3 3
      build/pdf.worker.js
  5. 1 1
      package.json

+ 1 - 1
bower.json

@@ -1,6 +1,6 @@
 {
 {
   "name": "pdfjs-dist",
   "name": "pdfjs-dist",
-  "version": "1.0.199",
+  "version": "1.0.203",
   "keywords": [
   "keywords": [
     "Mozilla",
     "Mozilla",
     "pdf",
     "pdf",

+ 3 - 3
build/pdf.combined.js

@@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 }
 
 
-PDFJS.version = '1.0.199';
-PDFJS.build = '149d3d8';
+PDFJS.version = '1.0.203';
+PDFJS.build = 'df40ac9';
 
 
 (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
@@ -10406,7 +10406,7 @@ var Catalog = (function CatalogClosure() {
       var xref = this.xref;
       var xref = this.xref;
       var dests = {}, nameTreeRef, nameDictionaryRef;
       var dests = {}, nameTreeRef, nameDictionaryRef;
       var obj = this.catDict.get('Names');
       var obj = this.catDict.get('Names');
-      if (obj) {
+      if (obj && obj.has('Dests')) {
         nameTreeRef = obj.getRaw('Dests');
         nameTreeRef = obj.getRaw('Dests');
       } else if (this.catDict.has('Dests')) {
       } else if (this.catDict.has('Dests')) {
         nameDictionaryRef = this.catDict.get('Dests');
         nameDictionaryRef = this.catDict.get('Dests');

+ 2 - 2
build/pdf.js

@@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 }
 
 
-PDFJS.version = '1.0.199';
-PDFJS.build = '149d3d8';
+PDFJS.version = '1.0.203';
+PDFJS.build = 'df40ac9';
 
 
 (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

+ 3 - 3
build/pdf.worker.js

@@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 }
 
 
-PDFJS.version = '1.0.199';
-PDFJS.build = '149d3d8';
+PDFJS.version = '1.0.203';
+PDFJS.build = 'df40ac9';
 
 
 (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
@@ -5813,7 +5813,7 @@ var Catalog = (function CatalogClosure() {
       var xref = this.xref;
       var xref = this.xref;
       var dests = {}, nameTreeRef, nameDictionaryRef;
       var dests = {}, nameTreeRef, nameDictionaryRef;
       var obj = this.catDict.get('Names');
       var obj = this.catDict.get('Names');
-      if (obj) {
+      if (obj && obj.has('Dests')) {
         nameTreeRef = obj.getRaw('Dests');
         nameTreeRef = obj.getRaw('Dests');
       } else if (this.catDict.has('Dests')) {
       } else if (this.catDict.has('Dests')) {
         nameDictionaryRef = this.catDict.get('Dests');
         nameDictionaryRef = this.catDict.get('Dests');

+ 1 - 1
package.json

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