I have the following code:
var ClassName = Backbone.Base.extend(
/** @lends ClassName# */
{
/**
* Creates an instance of the ClassName class.
* @class Class description
*
* @constructs
*
* @param {Object} args An object of properties to be attached to this ClassName.
*
* @return {ClassName} The ClassName instance created.
*/
constructor : function( args ) {
/*constructor function body*/
},
/** Sets the top-level handlers for various user-interaction events. */
setHandlers : function() {
/*setHandlers function body*/
}
}
);
, and I'm running it through node-jsdoc toolkit as described in README.md:
app/run.js -a -t=templates/jsdoc ../Desktop.js
Instead of marking the setHandlers function as a regular instance method, the node-jsdoc-toolkit marks it as a static method.
Am I doing something wrong, or is this a bug?
I have the following code:
, and I'm running it through node-jsdoc toolkit as described in README.md:
Instead of marking the setHandlers function as a regular instance method, the node-jsdoc-toolkit marks it as a static method.
Am I doing something wrong, or is this a bug?