Merge pull request #6599 from prometheansacrifice/generate-better-api-docs
Generate better API documentation
This commit is contained in:
commit
7381ff9523
@ -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
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user