diff --git a/bower.json b/bower.json index 09c3c2aa7..d14b090d6 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.0.719", + "version": "1.0.721", "keywords": [ "Mozilla", "pdf", diff --git a/build/pdf.combined.js b/build/pdf.combined.js index 20a694797..aa55dbc47 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.719'; -PDFJS.build = '4fcd502'; +PDFJS.version = '1.0.721'; +PDFJS.build = '61eac43'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -1760,6 +1760,11 @@ PDFJS.maxCanvasPixels = (PDFJS.maxCanvasPixels === undefined ? * parameters: function that needs to be called with new password and reason * (see {PasswordResponses}). * + * @param {function} progressCallback is optional. It is used to be able to + * monitor the loading progress of the PDF file (necessary to implement e.g. + * a loading bar). The callback receives an {Object} with the properties: + * {number} loaded and {number} total. + * * @return {Promise} A promise that is resolved with {@link PDFDocumentProxy} * object. */ diff --git a/build/pdf.js b/build/pdf.js index f39b859f1..30af8e42d 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.719'; -PDFJS.build = '4fcd502'; +PDFJS.version = '1.0.721'; +PDFJS.build = '61eac43'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -1760,6 +1760,11 @@ PDFJS.maxCanvasPixels = (PDFJS.maxCanvasPixels === undefined ? * parameters: function that needs to be called with new password and reason * (see {PasswordResponses}). * + * @param {function} progressCallback is optional. It is used to be able to + * monitor the loading progress of the PDF file (necessary to implement e.g. + * a loading bar). The callback receives an {Object} with the properties: + * {number} loaded and {number} total. + * * @return {Promise} A promise that is resolved with {@link PDFDocumentProxy} * object. */ diff --git a/build/pdf.worker.js b/build/pdf.worker.js index 87a0e222b..b4487558f 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.719'; -PDFJS.build = '4fcd502'; +PDFJS.version = '1.0.721'; +PDFJS.build = '61eac43'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it diff --git a/package.json b/package.json index 0971cfeb4..191ab4875 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.0.719", + "version": "1.0.721", "description": "Generic build of Mozilla's PDF.js library.", "keywords": [ "Mozilla",