Skip to content

properties marked "@lends ClassName#" treated as static #6

@airandfingers

Description

@airandfingers

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions