diff --git a/bower.json b/bower.json index 9bfb25149..9256048ff 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.0.937", + "version": "1.0.940", "main": [ "build/pdf.js", "build/pdf.worker.js" diff --git a/build/pdf.combined.js b/build/pdf.combined.js index 8184f1fa6..f6b7e0e66 100644 --- a/build/pdf.combined.js +++ b/build/pdf.combined.js @@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { (typeof window !== 'undefined' ? window : this).PDFJS = {}; } -PDFJS.version = '1.0.937'; -PDFJS.build = '308646d'; +PDFJS.version = '1.0.940'; +PDFJS.build = '45ca953'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -11917,7 +11917,7 @@ var PDFFunction = (function PDFFunctionClosure() { var cachedValue = cache[key]; if (cachedValue !== undefined) { - cachedValue.set(dest, destOffset); + dest.set(cachedValue, destOffset); return; } @@ -11941,7 +11941,7 @@ var PDFFunction = (function PDFFunctionClosure() { cache_available--; cache[key] = output; } - output.set(dest, destOffset); + dest.set(output, destOffset); }; } }; diff --git a/build/pdf.js b/build/pdf.js index 9e983a2d2..6be8e06b3 100644 --- a/build/pdf.js +++ b/build/pdf.js @@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { (typeof window !== 'undefined' ? window : this).PDFJS = {}; } -PDFJS.version = '1.0.937'; -PDFJS.build = '308646d'; +PDFJS.version = '1.0.940'; +PDFJS.build = '45ca953'; (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 6da931b0c..62f7b76d3 100644 --- a/build/pdf.worker.js +++ b/build/pdf.worker.js @@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { (typeof window !== 'undefined' ? window : this).PDFJS = {}; } -PDFJS.version = '1.0.937'; -PDFJS.build = '308646d'; +PDFJS.version = '1.0.940'; +PDFJS.build = '45ca953'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -5790,7 +5790,7 @@ var PDFFunction = (function PDFFunctionClosure() { var cachedValue = cache[key]; if (cachedValue !== undefined) { - cachedValue.set(dest, destOffset); + dest.set(cachedValue, destOffset); return; } @@ -5814,7 +5814,7 @@ var PDFFunction = (function PDFFunctionClosure() { cache_available--; cache[key] = output; } - output.set(dest, destOffset); + dest.set(output, destOffset); }; } }; diff --git a/package.json b/package.json index 4c641a7bc..8dab477ea 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.0.937", + "version": "1.0.940", "description": "Generic build of Mozilla's PDF.js library.", "keywords": [ "Mozilla",