From 50240c94886e0a13a48eb234a8c8c00bdc8d6011 Mon Sep 17 00:00:00 2001 From: Yury Delendik Date: Mon, 22 Sep 2014 16:25:07 -0500 Subject: [PATCH] PDF.js version 1.0.294 --- bower.json | 2 +- build/pdf.combined.js | 12 ++++++------ build/pdf.js | 4 ++-- build/pdf.worker.js | 12 ++++++------ package.json | 2 +- 5 files changed, 16 insertions(+), 16 deletions(-) diff --git a/bower.json b/bower.json index 0ce428dcf..6bfd2ea9b 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.0.291", + "version": "1.0.294", "keywords": [ "Mozilla", "pdf", diff --git a/build/pdf.combined.js b/build/pdf.combined.js index 4eddadf05..3285b8d58 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.291'; -PDFJS.build = 'e03ac80'; +PDFJS.version = '1.0.294'; +PDFJS.build = '11c1246'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -8377,15 +8377,15 @@ var Dict = (function DictClosure() { getAsync: function Dict_getAsync(key1, key2, key3) { var value; var xref = this.xref; - if (typeof (value = this.map[key1]) !== undefined || key1 in this.map || - typeof key2 === undefined) { + if (typeof (value = this.map[key1]) !== 'undefined' || key1 in this.map || + typeof key2 === 'undefined') { if (xref) { return xref.fetchIfRefAsync(value); } return Promise.resolve(value); } - if (typeof (value = this.map[key2]) !== undefined || key2 in this.map || - typeof key3 === undefined) { + if (typeof (value = this.map[key2]) !== 'undefined' || key2 in this.map || + typeof key3 === 'undefined') { if (xref) { return xref.fetchIfRefAsync(value); } diff --git a/build/pdf.js b/build/pdf.js index 042c743bf..0e99ba919 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.291'; -PDFJS.build = 'e03ac80'; +PDFJS.version = '1.0.294'; +PDFJS.build = '11c1246'; (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 7039e9c9c..5cb6f3906 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.291'; -PDFJS.build = 'e03ac80'; +PDFJS.version = '1.0.294'; +PDFJS.build = '11c1246'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -3870,15 +3870,15 @@ var Dict = (function DictClosure() { getAsync: function Dict_getAsync(key1, key2, key3) { var value; var xref = this.xref; - if (typeof (value = this.map[key1]) !== undefined || key1 in this.map || - typeof key2 === undefined) { + if (typeof (value = this.map[key1]) !== 'undefined' || key1 in this.map || + typeof key2 === 'undefined') { if (xref) { return xref.fetchIfRefAsync(value); } return Promise.resolve(value); } - if (typeof (value = this.map[key2]) !== undefined || key2 in this.map || - typeof key3 === undefined) { + if (typeof (value = this.map[key2]) !== 'undefined' || key2 in this.map || + typeof key3 === 'undefined') { if (xref) { return xref.fetchIfRefAsync(value); } diff --git a/package.json b/package.json index 00b6794b3..0b735955e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.0.291", + "version": "1.0.294", "description": "Generic build of Mozilla's PDF.js library.", "keywords": [ "Mozilla",