Skip to content

Instantly share code, notes, and snippets.

@mwcz
Created June 19, 2013 15:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mwcz/5815028 to your computer and use it in GitHub Desktop.
Save mwcz/5815028 to your computer and use it in GitHub Desktop.
jsdoc constructor members
// This works
/**
* What is love?
*
* @name Bananana
* @constructor
*/
function Bananana () {
/**
* Czoom czoom.
*
* @name Bananana.czar
* @function
*/
this.czar = function () {
/* code */
};
}
// This doesn't
/**
* What is love?
* @constructor
*/
function Bananana () {
/** Czoom czoom. */
this.czar = function () {
/* code */
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment