js-doc-parse icon indicating copy to clipboard operation
js-doc-parse copied to clipboard

return-type of "example:"

Open wkeese opened this issue 13 years ago • 1 comments

If I run

$ ./parse.sh ../trunk/dijit/form/NumberTextBox.js

I get this strange output listing the return-type from number.js's regexp() function as "example:"

<method name="regexp" scope="normal" type="function" from="dojo/number">
<parameters>
<parameter name="options" type="Object" usage="optional">
<description>
<p>An object with the following properties: </p> <ul> <li><p>type (String, optional): <p>choose a format type based on the locale from the following: decimal, scientific (not yet supported), percent, currency. decimal by default.</p></p> </li> <li><p>pattern</p> </li> <li>type</li> <li>locale</li> <li>strict</li> <li>places</li> </ul>
</description>
</parameter>
</parameters>
<return-types>
<return-type type="example:"/>
</return-types>
<summary><p>Builds the regular needed to parse a number</p></summary>
<description>
<p>Returns regular expression with positive and negative match, group and decimal separators</p>
</description>
</method>

Strangely it doesn't happen when parsing number.js stand alone.

wkeese avatar Jun 12 '12 13:06 wkeese

i can't reproduce this with the current master in this repo. is it still a problem?

neonstalwart avatar Mar 24 '13 04:03 neonstalwart