Uses @alias to fix missing comments on JSDocs pages

This commit is contained in:
Manas 2015-11-13 01:09:58 +05:30
parent 9e66625092
commit dbcb46c8de
2 changed files with 10 additions and 8 deletions

View File

@ -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

View File

@ -346,9 +346,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;
@ -405,13 +405,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;
@ -485,6 +483,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) {
@ -679,6 +678,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) {
@ -1634,6 +1634,7 @@ var PDFObjects = (function PDFObjectsClosure() {
/**
* Allows controlling of the rendering tasks.
* @class
* @alias RenderTask
*/
var RenderTask = (function RenderTaskClosure() {
function RenderTask(internalRenderTask) {