Browse Source

PDF.js version 1.6.250 - See mozilla/pdf.js@960e344a8a48e302a5530e37744d6562ad8c5b9c

Pdf Bot 8 years ago
parent
commit
65bd6f6025
6 changed files with 26 additions and 28 deletions
  1. 1 1
      bower.json
  2. 9 10
      build/pdf.combined.js
  3. 9 10
      build/pdf.js
  4. 2 2
      build/pdf.worker.js
  5. 1 1
      package.json
  6. 4 4
      web/pdf_viewer.js

+ 1 - 1
bower.json

@@ -1,6 +1,6 @@
 {
   "name": "pdfjs-dist",
-  "version": "1.6.248",
+  "version": "1.6.250",
   "main": [
     "build/pdf.js",
     "build/pdf.worker.js"

+ 9 - 10
build/pdf.combined.js

@@ -24,8 +24,8 @@
 }(this, function (exports) {
   // Use strict in our context only - users might not want it
   'use strict';
-  var pdfjsVersion = '1.6.248';
-  var pdfjsBuild = '1369997';
+  var pdfjsVersion = '1.6.250';
+  var pdfjsBuild = '960e344';
   var pdfjsFilePath = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : null;
   var pdfjsLibs = {};
   (function pdfjsWrapper() {
@@ -50081,9 +50081,9 @@
        * Page getTextContent parameters.
        *
        * @typedef {Object} getTextContentParameters
-       * @param {boolean} normalizeWhitespace - replaces all occurrences of
+       * @property {boolean} normalizeWhitespace - replaces all occurrences of
        *   whitespace with standard spaces (0x20). The default value is `false`.
-       * @param {boolean} disableCombineTextItems - do not attempt to combine
+       * @property {boolean} disableCombineTextItems - do not attempt to combine
        *   same line {@link TextItem}'s. The default value is `false`.
        */
       /**
@@ -50091,8 +50091,7 @@
        *
        * @typedef {Object} TextContent
        * @property {array} items - array of {@link TextItem}
-       * @property {Object} styles - {@link TextStyles} objects, indexed by font
-       *                    name.
+       * @property {Object} styles - {@link TextStyles} objects, indexed by font name.
        */
       /**
        * Page text content part.
@@ -50118,10 +50117,10 @@
        * Page annotation parameters.
        *
        * @typedef {Object} GetAnnotationsParameters
-       * @param {string} intent - Determines the annotations that will be fetched,
-       *                 can be either 'display' (viewable annotations) or 'print'
-       *                 (printable annotations).
-       *                 If the parameter is omitted, all annotations are fetched.
+       * @property {string} intent - Determines the annotations that will be fetched,
+       *                    can be either 'display' (viewable annotations) or 'print'
+       *                    (printable annotations).
+       *                    If the parameter is omitted, all annotations are fetched.
        */
       /**
        * Page render parameters.

+ 9 - 10
build/pdf.js

@@ -24,8 +24,8 @@
 }(this, function (exports) {
   // Use strict in our context only - users might not want it
   'use strict';
-  var pdfjsVersion = '1.6.248';
-  var pdfjsBuild = '1369997';
+  var pdfjsVersion = '1.6.250';
+  var pdfjsBuild = '960e344';
   var pdfjsFilePath = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : null;
   var pdfjsLibs = {};
   (function pdfjsWrapper() {
@@ -9004,9 +9004,9 @@
        * Page getTextContent parameters.
        *
        * @typedef {Object} getTextContentParameters
-       * @param {boolean} normalizeWhitespace - replaces all occurrences of
+       * @property {boolean} normalizeWhitespace - replaces all occurrences of
        *   whitespace with standard spaces (0x20). The default value is `false`.
-       * @param {boolean} disableCombineTextItems - do not attempt to combine
+       * @property {boolean} disableCombineTextItems - do not attempt to combine
        *   same line {@link TextItem}'s. The default value is `false`.
        */
       /**
@@ -9014,8 +9014,7 @@
        *
        * @typedef {Object} TextContent
        * @property {array} items - array of {@link TextItem}
-       * @property {Object} styles - {@link TextStyles} objects, indexed by font
-       *                    name.
+       * @property {Object} styles - {@link TextStyles} objects, indexed by font name.
        */
       /**
        * Page text content part.
@@ -9041,10 +9040,10 @@
        * Page annotation parameters.
        *
        * @typedef {Object} GetAnnotationsParameters
-       * @param {string} intent - Determines the annotations that will be fetched,
-       *                 can be either 'display' (viewable annotations) or 'print'
-       *                 (printable annotations).
-       *                 If the parameter is omitted, all annotations are fetched.
+       * @property {string} intent - Determines the annotations that will be fetched,
+       *                    can be either 'display' (viewable annotations) or 'print'
+       *                    (printable annotations).
+       *                    If the parameter is omitted, all annotations are fetched.
        */
       /**
        * Page render parameters.

+ 2 - 2
build/pdf.worker.js

@@ -24,8 +24,8 @@
 }(this, function (exports) {
   // Use strict in our context only - users might not want it
   'use strict';
-  var pdfjsVersion = '1.6.248';
-  var pdfjsBuild = '1369997';
+  var pdfjsVersion = '1.6.250';
+  var pdfjsBuild = '960e344';
   var pdfjsFilePath = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : null;
   var pdfjsLibs = {};
   (function pdfjsWrapper() {

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "pdfjs-dist",
-  "version": "1.6.248",
+  "version": "1.6.250",
   "main": "build/pdf.js",
   "description": "Generic build of Mozilla's PDF.js library.",
   "keywords": [

+ 4 - 4
web/pdf_viewer.js

@@ -3379,10 +3379,10 @@
           },
           /**
            * @typedef ScrollPageIntoViewParameters
-           * @param {number} pageNumber - The page number.
-           * @param {Array} destArray - (optional) The original PDF destination array,
-           *   in the format: <page-ref> </XYZ|/FitXXX> <args..>
-           * @param {boolean} allowNegativeOffset - (optional) Allow negative page
+           * @property {number} pageNumber - The page number.
+           * @property {Array} destArray - (optional) The original PDF destination
+           *   array, in the format: <page-ref> </XYZ|/FitXXX> <args..>
+           * @property {boolean} allowNegativeOffset - (optional) Allow negative page
            *   offsets. The default value is `false`.
            */
           /**