0

我怎样才能正确使用 jsdoc 发表此评论。有任何想法吗???

   /**********************
* @variables : global variables
***************************/
var map; // this var handle the object related with the map
var image;
var currentMark;
4

1 回答 1

1

只需在变量之前添加一个文档注释:

/** this var handle the object related with the map */
var map;
/** An image */
var image;
// Undocumented variables will not show up
var currentMark;
于 2012-01-06T19:49:38.883 回答