diff --git a/bower.json b/bower.json index bfdb5c20d..b5bdb6b2e 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.0.284", + "version": "1.0.286", "keywords": [ "Mozilla", "pdf", diff --git a/build/pdf.combined.js b/build/pdf.combined.js index e416adbd3..9d954c7de 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.284'; -PDFJS.build = '5ded0ea'; +PDFJS.version = '1.0.286'; +PDFJS.build = '3acf570'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -22668,8 +22668,8 @@ var CMap = (function CMapClosure() { }, mapRangeToArray: function(low, high, array) { - var i = 0; - while (low <= high) { + var i = 0, ii = array.length; + while (low <= high && i < ii) { this.map[low] = array[i++]; ++low; } diff --git a/build/pdf.js b/build/pdf.js index d3f9c6c1e..eb011d1f5 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.284'; -PDFJS.build = '5ded0ea'; +PDFJS.version = '1.0.286'; +PDFJS.build = '3acf570'; (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 84ea90db8..5bc7c0b59 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.284'; -PDFJS.build = '5ded0ea'; +PDFJS.version = '1.0.286'; +PDFJS.build = '3acf570'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -18161,8 +18161,8 @@ var CMap = (function CMapClosure() { }, mapRangeToArray: function(low, high, array) { - var i = 0; - while (low <= high) { + var i = 0, ii = array.length; + while (low <= high && i < ii) { this.map[low] = array[i++]; ++low; } diff --git a/package.json b/package.json index 19965036e..a8e92ba27 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.0.284", + "version": "1.0.286", "description": "Generic build of Mozilla's PDF.js library.", "keywords": [ "Mozilla",