From a826c82ddee01b88f3abcb0a1d34db8269de358a Mon Sep 17 00:00:00 2001 From: Pdf Bot Date: Thu, 12 Nov 2015 20:27:45 +0000 Subject: [PATCH] PDF.js version 1.2.103 - See mozilla/pdf.js@7381ff95236fa1d2c964f12418b6b3f152457868 --- bower.json | 2 +- build/pdf.combined.js | 22 ++++++++++++---------- build/pdf.js | 17 +++++++++-------- build/pdf.worker.js | 9 +++++---- package.json | 2 +- 5 files changed, 28 insertions(+), 24 deletions(-) diff --git a/bower.json b/bower.json index 017039379..276851b3b 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.2.101", + "version": "1.2.103", "main": [ "build/pdf.js", "build/pdf.worker.js" diff --git a/build/pdf.combined.js b/build/pdf.combined.js index 23ba0e1cb..ac4c0e054 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.2.101'; -PDFJS.build = '2a5a791'; +PDFJS.version = '1.2.103'; +PDFJS.build = '7381ff9'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -1963,9 +1963,9 @@ PDFJS.getDocument = function getDocument(src, /** * PDF document loading operation. * @class + * @alias PDFDocumentLoadingTask */ var PDFDocumentLoadingTask = (function PDFDocumentLoadingTaskClosure() { - /** @constructs PDFDocumentLoadingTask */ function PDFDocumentLoadingTask() { this._capability = createPromiseCapability(); this._transport = null; @@ -2022,13 +2022,11 @@ var PDFDocumentLoadingTask = (function PDFDocumentLoadingTaskClosure() { /** * Abstract class to support range requests file loading. * @class + * @alias PDFJS.PDFDataRangeTransport + * @param {number} length + * @param {Uint8Array} initialData */ var PDFDataRangeTransport = (function pdfDataRangeTransportClosure() { - /** - * @constructs PDFDataRangeTransport - * @param {number} length - * @param {Uint8Array} initialData - */ function PDFDataRangeTransport(length, initialData) { this.length = length; this.initialData = initialData; @@ -2102,6 +2100,7 @@ PDFJS.PDFDataRangeTransport = PDFDataRangeTransport; * Proxy to a PDFDocument in the worker thread. Also, contains commonly used * properties that can be read synchronously. * @class + * @alias PDFDocumentProxy */ var PDFDocumentProxy = (function PDFDocumentProxyClosure() { function PDFDocumentProxy(pdfInfo, transport, loadingTask) { @@ -2296,6 +2295,7 @@ var PDFDocumentProxy = (function PDFDocumentProxyClosure() { /** * Proxy to a PDFPage in the worker thread. * @class + * @alias PDFPageProxy */ var PDFPageProxy = (function PDFPageProxyClosure() { function PDFPageProxy(pageIndex, pageInfo, transport) { @@ -3197,6 +3197,7 @@ var PDFObjects = (function PDFObjectsClosure() { /** * Allows controlling of the rendering tasks. * @class + * @alias RenderTask */ var RenderTask = (function RenderTaskClosure() { function RenderTask(internalRenderTask) { @@ -11565,10 +11566,11 @@ var ExpertSubsetCharset = [ var DEFAULT_ICON_SIZE = 22; // px /** - * @constructor + * @class + * @alias AnnotationFactory */ function AnnotationFactory() {} -AnnotationFactory.prototype = { +AnnotationFactory.prototype = /** @lends AnnotationFactory.prototype */ { /** * @param {XRef} xref * @param {Object} ref diff --git a/build/pdf.js b/build/pdf.js index 4c357b635..e1ae9b07c 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.2.101'; -PDFJS.build = '2a5a791'; +PDFJS.version = '1.2.103'; +PDFJS.build = '7381ff9'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -1972,9 +1972,9 @@ PDFJS.getDocument = function getDocument(src, /** * PDF document loading operation. * @class + * @alias PDFDocumentLoadingTask */ var PDFDocumentLoadingTask = (function PDFDocumentLoadingTaskClosure() { - /** @constructs PDFDocumentLoadingTask */ function PDFDocumentLoadingTask() { this._capability = createPromiseCapability(); this._transport = null; @@ -2031,13 +2031,11 @@ var PDFDocumentLoadingTask = (function PDFDocumentLoadingTaskClosure() { /** * Abstract class to support range requests file loading. * @class + * @alias PDFJS.PDFDataRangeTransport + * @param {number} length + * @param {Uint8Array} initialData */ var PDFDataRangeTransport = (function pdfDataRangeTransportClosure() { - /** - * @constructs PDFDataRangeTransport - * @param {number} length - * @param {Uint8Array} initialData - */ function PDFDataRangeTransport(length, initialData) { this.length = length; this.initialData = initialData; @@ -2111,6 +2109,7 @@ PDFJS.PDFDataRangeTransport = PDFDataRangeTransport; * Proxy to a PDFDocument in the worker thread. Also, contains commonly used * properties that can be read synchronously. * @class + * @alias PDFDocumentProxy */ var PDFDocumentProxy = (function PDFDocumentProxyClosure() { function PDFDocumentProxy(pdfInfo, transport, loadingTask) { @@ -2305,6 +2304,7 @@ var PDFDocumentProxy = (function PDFDocumentProxyClosure() { /** * Proxy to a PDFPage in the worker thread. * @class + * @alias PDFPageProxy */ var PDFPageProxy = (function PDFPageProxyClosure() { function PDFPageProxy(pageIndex, pageInfo, transport) { @@ -3250,6 +3250,7 @@ var PDFObjects = (function PDFObjectsClosure() { /** * Allows controlling of the rendering tasks. * @class + * @alias RenderTask */ var RenderTask = (function RenderTaskClosure() { function RenderTask(internalRenderTask) { diff --git a/build/pdf.worker.js b/build/pdf.worker.js index 3c07ba0c1..9ecf27fed 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.2.101'; -PDFJS.build = '2a5a791'; +PDFJS.version = '1.2.103'; +PDFJS.build = '7381ff9'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -4985,10 +4985,11 @@ var ExpertSubsetCharset = [ var DEFAULT_ICON_SIZE = 22; // px /** - * @constructor + * @class + * @alias AnnotationFactory */ function AnnotationFactory() {} -AnnotationFactory.prototype = { +AnnotationFactory.prototype = /** @lends AnnotationFactory.prototype */ { /** * @param {XRef} xref * @param {Object} ref diff --git a/package.json b/package.json index b2faa4ae4..b7e2aac29 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.2.101", + "version": "1.2.103", "description": "Generic build of Mozilla's PDF.js library.", "keywords": [ "Mozilla",