You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You need to document the say method to get it to show up in the docs. This works for me:
varPerson=makeClass(/** @lends Person.prototype */{/** @constructs */initialize: function(name){this.name=name;},/** * Say something. * @param {string} message - The message to say. * @return {string} What the person says. */say: function(message){returnthis.name+" says: "+message;}});
setting
@lends
and@memberof
tags results in methods not being generated at all.This example code from usejsdoc will not exist in the documentation.
This pretty much makes both tags either useless, buggy or the documentation is delivers false information.
The text was updated successfully, but these errors were encountered: