Browse Source

PDF.js version 1.2.103 - See mozilla/pdf.js@7381ff95236fa1d2c964f12418b6b3f152457868

Pdf Bot 9 years ago
parent
commit
a826c82dde
5 changed files with 28 additions and 24 deletions
  1. 1 1
      bower.json
  2. 12 10
      build/pdf.combined.js
  3. 9 8
      build/pdf.js
  4. 5 4
      build/pdf.worker.js
  5. 1 1
      package.json

+ 1 - 1
bower.json

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

+ 12 - 10
build/pdf.combined.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 }
 
 
-PDFJS.version = '1.2.101';
-PDFJS.build = '2a5a791';
+PDFJS.version = '1.2.103';
+PDFJS.build = '7381ff9';
 
 
 (function pdfjsWrapper() {
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
   // Use strict in our context only - users might not want it
@@ -1963,9 +1963,9 @@ PDFJS.getDocument = function getDocument(src,
 /**
 /**
  * PDF document loading operation.
  * PDF document loading operation.
  * @class
  * @class
+ * @alias PDFDocumentLoadingTask
  */
  */
 var PDFDocumentLoadingTask = (function PDFDocumentLoadingTaskClosure() {
 var PDFDocumentLoadingTask = (function PDFDocumentLoadingTaskClosure() {
-  /** @constructs PDFDocumentLoadingTask */
   function PDFDocumentLoadingTask() {
   function PDFDocumentLoadingTask() {
     this._capability = createPromiseCapability();
     this._capability = createPromiseCapability();
     this._transport = null;
     this._transport = null;
@@ -2022,13 +2022,11 @@ var PDFDocumentLoadingTask = (function PDFDocumentLoadingTaskClosure() {
 /**
 /**
  * Abstract class to support range requests file loading.
  * Abstract class to support range requests file loading.
  * @class
  * @class
+ * @alias PDFJS.PDFDataRangeTransport
+ * @param {number} length
+ * @param {Uint8Array} initialData
  */
  */
 var PDFDataRangeTransport = (function pdfDataRangeTransportClosure() {
 var PDFDataRangeTransport = (function pdfDataRangeTransportClosure() {
-  /**
-   * @constructs PDFDataRangeTransport
-   * @param {number} length
-   * @param {Uint8Array} initialData
-   */
   function PDFDataRangeTransport(length, initialData) {
   function PDFDataRangeTransport(length, initialData) {
     this.length = length;
     this.length = length;
     this.initialData = initialData;
     this.initialData = initialData;
@@ -2102,6 +2100,7 @@ PDFJS.PDFDataRangeTransport = PDFDataRangeTransport;
  * Proxy to a PDFDocument in the worker thread. Also, contains commonly used
  * Proxy to a PDFDocument in the worker thread. Also, contains commonly used
  * properties that can be read synchronously.
  * properties that can be read synchronously.
  * @class
  * @class
+ * @alias PDFDocumentProxy
  */
  */
 var PDFDocumentProxy = (function PDFDocumentProxyClosure() {
 var PDFDocumentProxy = (function PDFDocumentProxyClosure() {
   function PDFDocumentProxy(pdfInfo, transport, loadingTask) {
   function PDFDocumentProxy(pdfInfo, transport, loadingTask) {
@@ -2296,6 +2295,7 @@ var PDFDocumentProxy = (function PDFDocumentProxyClosure() {
 /**
 /**
  * Proxy to a PDFPage in the worker thread.
  * Proxy to a PDFPage in the worker thread.
  * @class
  * @class
+ * @alias PDFPageProxy
  */
  */
 var PDFPageProxy = (function PDFPageProxyClosure() {
 var PDFPageProxy = (function PDFPageProxyClosure() {
   function PDFPageProxy(pageIndex, pageInfo, transport) {
   function PDFPageProxy(pageIndex, pageInfo, transport) {
@@ -3197,6 +3197,7 @@ var PDFObjects = (function PDFObjectsClosure() {
 /**
 /**
  * Allows controlling of the rendering tasks.
  * Allows controlling of the rendering tasks.
  * @class
  * @class
+ * @alias RenderTask
  */
  */
 var RenderTask = (function RenderTaskClosure() {
 var RenderTask = (function RenderTaskClosure() {
   function RenderTask(internalRenderTask) {
   function RenderTask(internalRenderTask) {
@@ -11565,10 +11566,11 @@ var ExpertSubsetCharset = [
 var DEFAULT_ICON_SIZE = 22; // px
 var DEFAULT_ICON_SIZE = 22; // px
 
 
 /**
 /**
- * @constructor
+ * @class
+ * @alias AnnotationFactory
  */
  */
 function AnnotationFactory() {}
 function AnnotationFactory() {}
-AnnotationFactory.prototype = {
+AnnotationFactory.prototype = /** @lends AnnotationFactory.prototype */ {
   /**
   /**
    * @param {XRef} xref
    * @param {XRef} xref
    * @param {Object} ref
    * @param {Object} ref

+ 9 - 8
build/pdf.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 }
 
 
-PDFJS.version = '1.2.101';
-PDFJS.build = '2a5a791';
+PDFJS.version = '1.2.103';
+PDFJS.build = '7381ff9';
 
 
 (function pdfjsWrapper() {
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
   // Use strict in our context only - users might not want it
@@ -1972,9 +1972,9 @@ PDFJS.getDocument = function getDocument(src,
 /**
 /**
  * PDF document loading operation.
  * PDF document loading operation.
  * @class
  * @class
+ * @alias PDFDocumentLoadingTask
  */
  */
 var PDFDocumentLoadingTask = (function PDFDocumentLoadingTaskClosure() {
 var PDFDocumentLoadingTask = (function PDFDocumentLoadingTaskClosure() {
-  /** @constructs PDFDocumentLoadingTask */
   function PDFDocumentLoadingTask() {
   function PDFDocumentLoadingTask() {
     this._capability = createPromiseCapability();
     this._capability = createPromiseCapability();
     this._transport = null;
     this._transport = null;
@@ -2031,13 +2031,11 @@ var PDFDocumentLoadingTask = (function PDFDocumentLoadingTaskClosure() {
 /**
 /**
  * Abstract class to support range requests file loading.
  * Abstract class to support range requests file loading.
  * @class
  * @class
+ * @alias PDFJS.PDFDataRangeTransport
+ * @param {number} length
+ * @param {Uint8Array} initialData
  */
  */
 var PDFDataRangeTransport = (function pdfDataRangeTransportClosure() {
 var PDFDataRangeTransport = (function pdfDataRangeTransportClosure() {
-  /**
-   * @constructs PDFDataRangeTransport
-   * @param {number} length
-   * @param {Uint8Array} initialData
-   */
   function PDFDataRangeTransport(length, initialData) {
   function PDFDataRangeTransport(length, initialData) {
     this.length = length;
     this.length = length;
     this.initialData = initialData;
     this.initialData = initialData;
@@ -2111,6 +2109,7 @@ PDFJS.PDFDataRangeTransport = PDFDataRangeTransport;
  * Proxy to a PDFDocument in the worker thread. Also, contains commonly used
  * Proxy to a PDFDocument in the worker thread. Also, contains commonly used
  * properties that can be read synchronously.
  * properties that can be read synchronously.
  * @class
  * @class
+ * @alias PDFDocumentProxy
  */
  */
 var PDFDocumentProxy = (function PDFDocumentProxyClosure() {
 var PDFDocumentProxy = (function PDFDocumentProxyClosure() {
   function PDFDocumentProxy(pdfInfo, transport, loadingTask) {
   function PDFDocumentProxy(pdfInfo, transport, loadingTask) {
@@ -2305,6 +2304,7 @@ var PDFDocumentProxy = (function PDFDocumentProxyClosure() {
 /**
 /**
  * Proxy to a PDFPage in the worker thread.
  * Proxy to a PDFPage in the worker thread.
  * @class
  * @class
+ * @alias PDFPageProxy
  */
  */
 var PDFPageProxy = (function PDFPageProxyClosure() {
 var PDFPageProxy = (function PDFPageProxyClosure() {
   function PDFPageProxy(pageIndex, pageInfo, transport) {
   function PDFPageProxy(pageIndex, pageInfo, transport) {
@@ -3250,6 +3250,7 @@ var PDFObjects = (function PDFObjectsClosure() {
 /**
 /**
  * Allows controlling of the rendering tasks.
  * Allows controlling of the rendering tasks.
  * @class
  * @class
+ * @alias RenderTask
  */
  */
 var RenderTask = (function RenderTaskClosure() {
 var RenderTask = (function RenderTaskClosure() {
   function RenderTask(internalRenderTask) {
   function RenderTask(internalRenderTask) {

+ 5 - 4
build/pdf.worker.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 }
 
 
-PDFJS.version = '1.2.101';
-PDFJS.build = '2a5a791';
+PDFJS.version = '1.2.103';
+PDFJS.build = '7381ff9';
 
 
 (function pdfjsWrapper() {
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
   // Use strict in our context only - users might not want it
@@ -4985,10 +4985,11 @@ var ExpertSubsetCharset = [
 var DEFAULT_ICON_SIZE = 22; // px
 var DEFAULT_ICON_SIZE = 22; // px
 
 
 /**
 /**
- * @constructor
+ * @class
+ * @alias AnnotationFactory
  */
  */
 function AnnotationFactory() {}
 function AnnotationFactory() {}
-AnnotationFactory.prototype = {
+AnnotationFactory.prototype = /** @lends AnnotationFactory.prototype */ {
   /**
   /**
    * @param {XRef} xref
    * @param {XRef} xref
    * @param {Object} ref
    * @param {Object} ref

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
 {
   "name": "pdfjs-dist",
   "name": "pdfjs-dist",
-  "version": "1.2.101",
+  "version": "1.2.103",
   "description": "Generic build of Mozilla's PDF.js library.",
   "description": "Generic build of Mozilla's PDF.js library.",
   "keywords": [
   "keywords": [
     "Mozilla",
     "Mozilla",