Closed GoogleCodeExporter closed 9 years ago
This bug is not in the code, rather it's in the documentation. I'm embarrassed
to
say, this was just a stupid mistake on my part when writing the wiki page on
meta
tags. I've corrected the Version 2 wiki page now:
http://www.jsdoctoolkit.org/wiki/index.php?page=Meta+Tags
The Version 1 wiki has always been correct, by the way, it is listed under the
heading "Shared Doclets" here:
http://code.google.com/p/jsdoc-toolkit/wiki/DocExamples
Anyway, you just need to add an octothorp to make it work: /**#@+ and /**#@-*/
Original comment by micmath
on 30 Mar 2008 at 1:00
Thwarted by the octothorp again! I should have noticed the difference between
the
two versions of the docs.
Unfortunately, adding the octothorp to the begin/end meta tags does not fix the
problem. I've attached a simple repro. Perhaps I've misunderstood usage of
the tags?
I would expect duplication of the @param definitions for all three methods.
The one
exception would be the one locally-defined @param tag for 'successCallback' for
'deleteRows,' which I would expect to override the @param meta tag for
'successCallback.'
Thanks for taking a look when you get a chance.
Original comment by ekaynel...@gmail.com
on 30 Mar 2008 at 8:54
Attachments:
Hello and thanks for you example code -- it really helps. My working copy gives
the
following result from your MetaTagTest.js file:
http://jsdoctoolkit.org/scratch/MetaTagTest/
I believe this is the desired result you are describing. If so (please
confirm), the
fix will be in the next release.
Original comment by micmath
on 31 Mar 2008 at 10:19
I just realized that your example code uses an anonymous constructor like so:
foo = new function(){
}
Version 2.0.beta2 will offer much better support for this syntax.
Original comment by micmath
on 31 Mar 2008 at 10:25
Excellent! Your link shows exactly what I would expect. Great to hear this is
fixed. My team is looking forward to using meta tags.
I'm also interested to hear more about how "Version 2.0beta2 will offer much
better
support for [anonymous constructors]". Perhaps you'll point out these
improvements
when you announce your release of beta2?
I can't wait to see beta2 -- you've fixed so many issues for us that it'll feel
like
beta3. Thanks for all the swift work.
Original comment by ekaynel...@gmail.com
on 2 Apr 2008 at 6:25
Original comment by micmath
on 5 Apr 2008 at 6:00
I just verified your fix on your newly released jsdoc-toolkit v2.0beta2.2.
Thank you!
Original comment by ekaynel...@gmail.com
on 8 Apr 2008 at 6:39
Original issue reported on code.google.com by
ekaynel...@gmail.com
on 26 Mar 2008 at 9:23Attachments: