Yury Delendik 10 роки тому
батько
коміт
88367a7fc4
5 змінених файлів з 18 додано та 8 видалено
  1. 1 1
      bower.json
  2. 7 2
      build/pdf.combined.js
  3. 7 2
      build/pdf.js
  4. 2 2
      build/pdf.worker.js
  5. 1 1
      package.json

+ 1 - 1
bower.json

@@ -1,6 +1,6 @@
 {
   "name": "pdfjs-dist",
-  "version": "1.0.719",
+  "version": "1.0.721",
   "keywords": [
     "Mozilla",
     "pdf",

+ 7 - 2
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.
  */

+ 7 - 2
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.
  */

+ 2 - 2
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

+ 1 - 1
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",