diff --git a/bower.json b/bower.json index f39a819e5..85c3d059f 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.0.235", + "version": "1.0.237", "keywords": [ "Mozilla", "pdf", diff --git a/build/pdf.combined.js b/build/pdf.combined.js index 6a6bd0635..003d37e9e 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.235'; -PDFJS.build = 'fe27a76'; +PDFJS.version = '1.0.237'; +PDFJS.build = 'd2da73b'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -10492,9 +10492,10 @@ var Catalog = (function CatalogClosure() { this.fontCache.forEach(function (promise) { promises.push(promise); }); - return Promise.all(promises).then(function (fonts) { - for (var i = 0, ii = fonts.length; i < ii; i++) { - delete fonts[i].translated; + return Promise.all(promises).then(function (translatedFonts) { + for (var i = 0, ii = translatedFonts.length; i < ii; i++) { + var font = translatedFonts[i].dict; + delete font.translated; } this.fontCache.clear(); }.bind(this)); diff --git a/build/pdf.js b/build/pdf.js index 47865a325..993abcd0f 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.235'; -PDFJS.build = 'fe27a76'; +PDFJS.version = '1.0.237'; +PDFJS.build = 'd2da73b'; (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 ab33de376..5b9fe8015 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.235'; -PDFJS.build = 'fe27a76'; +PDFJS.version = '1.0.237'; +PDFJS.build = 'd2da73b'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -5898,9 +5898,10 @@ var Catalog = (function CatalogClosure() { this.fontCache.forEach(function (promise) { promises.push(promise); }); - return Promise.all(promises).then(function (fonts) { - for (var i = 0, ii = fonts.length; i < ii; i++) { - delete fonts[i].translated; + return Promise.all(promises).then(function (translatedFonts) { + for (var i = 0, ii = translatedFonts.length; i < ii; i++) { + var font = translatedFonts[i].dict; + delete font.translated; } this.fontCache.clear(); }.bind(this)); diff --git a/package.json b/package.json index f0fb77ed5..814e75792 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.0.235", + "version": "1.0.237", "description": "Generic build of Mozilla's PDF.js library.", "keywords": [ "Mozilla",