diff --git a/bower.json b/bower.json index f7d53e682..0079716b7 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.0.199", + "version": "1.0.203", "keywords": [ "Mozilla", "pdf", diff --git a/build/pdf.combined.js b/build/pdf.combined.js index 8dcdc7f34..61f6fa730 100644 --- a/build/pdf.combined.js +++ b/build/pdf.combined.js @@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') { (typeof window !== 'undefined' ? window : this).PDFJS = {}; } -PDFJS.version = '1.0.199'; -PDFJS.build = '149d3d8'; +PDFJS.version = '1.0.203'; +PDFJS.build = 'df40ac9'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -10406,7 +10406,7 @@ var Catalog = (function CatalogClosure() { var xref = this.xref; var dests = {}, nameTreeRef, nameDictionaryRef; var obj = this.catDict.get('Names'); - if (obj) { + if (obj && obj.has('Dests')) { nameTreeRef = obj.getRaw('Dests'); } else if (this.catDict.has('Dests')) { nameDictionaryRef = this.catDict.get('Dests'); diff --git a/build/pdf.js b/build/pdf.js index c4f244184..3b41d9a78 100644 --- a/build/pdf.js +++ b/build/pdf.js @@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') { (typeof window !== 'undefined' ? window : this).PDFJS = {}; } -PDFJS.version = '1.0.199'; -PDFJS.build = '149d3d8'; +PDFJS.version = '1.0.203'; +PDFJS.build = 'df40ac9'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it diff --git a/build/pdf.worker.js b/build/pdf.worker.js index b1444116b..cf06935e6 100644 --- a/build/pdf.worker.js +++ b/build/pdf.worker.js @@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') { (typeof window !== 'undefined' ? window : this).PDFJS = {}; } -PDFJS.version = '1.0.199'; -PDFJS.build = '149d3d8'; +PDFJS.version = '1.0.203'; +PDFJS.build = 'df40ac9'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -5813,7 +5813,7 @@ var Catalog = (function CatalogClosure() { var xref = this.xref; var dests = {}, nameTreeRef, nameDictionaryRef; var obj = this.catDict.get('Names'); - if (obj) { + if (obj && obj.has('Dests')) { nameTreeRef = obj.getRaw('Dests'); } else if (this.catDict.has('Dests')) { nameDictionaryRef = this.catDict.get('Dests'); diff --git a/package.json b/package.json index bddd8c6c8..943bbf1a4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.0.199", + "version": "1.0.203", "description": "Generic build of Mozilla's PDF.js library.", "keywords": [ "Mozilla",