Skip to content
This repository has been archived by the owner on Dec 31, 2017. It is now read-only.

return-type of "example:" #35

Open
wkeese opened this issue Jun 12, 2012 · 1 comment
Open

return-type of "example:" #35

wkeese opened this issue Jun 12, 2012 · 1 comment
Assignees
Labels
Milestone

Comments

@wkeese
Copy link
Collaborator

wkeese commented Jun 12, 2012

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.

@ghost ghost assigned csnover Jun 14, 2012
@neonstalwart
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants