Closed GoogleCodeExporter closed 8 years ago
The error message is a little mysterious I admit, but the problem in your
example is that you are using the
@name tag to declare documentation for three global functions, all named
"getEditDisplayNode".
The docs for @name explain that you must give the "namepath" when using the
@name tag, and the
namepath must be "a unique identifier that maps to that variable". But the
namepath "getEditDisplayNode"
isn't unique when you use it three times. You appear to be trying to use the
@memberOf tag to distinguish
one getEditDisplayNode from another, but that won't work: the namepath is
considered canonical and isn't
affected by @memberOf.
Try this pattern this instead:
/** Returns an html node used for editing.
* @name CHK.GIS.Web.CHKWebMap.ClientAPI.RectangleOverlay.prototype.getEditDisplayNode
* @function
* @return {Node}
*/
Original comment by micmath
on 1 Sep 2009 at 8:29
Original issue reported on code.google.com by
justin.c...@gmail.com
on 28 Aug 2009 at 2:01Attachments: