質問

how can i made this comment's properly using jsdoc. Any ideas???

   /**********************
* @variables : global variables
***************************/
var map; // this var handle the object related with the map
var image;
var currentMark;
役に立ちましたか?

解決

Just add a documentation comment right before the variable:

/** this var handle the object related with the map */
var map;
/** An image */
var image;
// Undocumented variables will not show up
var currentMark;
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top