I have a class named FileDownloader and I've tried documenting it, but the properties and method declared using prototype aren't generated in the output file.
As stated on the title, I use jsdoc 3.3.0-alpha5.
Here's the code:
/**
* @class
* @memberOf module:utils
*/
FileDownloader = function() {};
/**
* @type {Boolean}
*/
FileDownloader.prototype.overwrite = false;
/**
* @type {String}
*/
FileDownloader.prototype.dir = config.dealImagePath;
/**
* @param {String} url
* @param {Function} done
* @param {Object} done.err
* @param {String} done.file
*/
FileDownloader.prototype.download = function(url, done) {
//...
};Here is the generated document:
new FileDownloader()
| Source: path/to/file.jsAny idea?
--
You received this message because you are subscribed to the Google Groups "JSDoc Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jsdoc-users...@googlegroups.com.
To post to this group, send email to jsdoc...@googlegroups.com.
Visit this group at http://groups.google.com/group/jsdoc-users.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/jsdoc-users/93f13d36-5ac3-427a-b2d6-57aead1d178c%40googlegroups.com.