diff --git a/src/core/annotation.js b/src/core/annotation.js index f08d22d3b..98eb6302c 100644 --- a/src/core/annotation.js +++ b/src/core/annotation.js @@ -24,10 +24,11 @@ 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/src/display/api.js b/src/display/api.js index 8ff399251..655582a5e 100644 --- a/src/display/api.js +++ b/src/display/api.js @@ -348,9 +348,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; @@ -407,13 +407,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; @@ -487,6 +485,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) { @@ -681,6 +680,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) { @@ -1636,6 +1636,7 @@ var PDFObjects = (function PDFObjectsClosure() { /** * Allows controlling of the rendering tasks. * @class + * @alias RenderTask */ var RenderTask = (function RenderTaskClosure() { function RenderTask(internalRenderTask) {