Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optional nested params are not marked as such #62

Closed
Satyam opened this issue Aug 25, 2012 · 1 comment
Closed

Optional nested params are not marked as such #62

Satyam opened this issue Aug 25, 2012 · 1 comment
Assignees

Comments

@Satyam
Copy link

Satyam commented Aug 25, 2012

/**
 * @event change
 * @param ev {EventFacade} containing:
 * @param [ev.name] {String} Name of the field changed
*/

name is not getting marked as optional in the output.

Neither do these:

  • @param ev.[name] {String} Name of the field changed
  • @param {String} [ev.name] Name of the field changed

Non-nested optional arguments work just fine.
Starting YUIDoc@0.3.19 using YUI@3.6.0 with NodeJS@0.6.10

@ghost ghost assigned davglass Aug 29, 2012
davglass added a commit that referenced this issue Aug 30, 2012
@davglass
Copy link
Member

Fix is in yuidocjs@0.3.22

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

No branches or pull requests

2 participants