Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fixing typo when parsing @const tag #20

Merged
merged 1 commit into from

3 participants

@gragera

If there is a @const tag in the Javascript code the parser breaks because of a typo when setting the itemtype property of the target to property rather than 'property'

@travisbot

This pull request fails (merged 6c3a444 into cb4f622).

@davglass davglass was assigned
@davglass
Owner

Looks like @travisbot doesn't like this pull request even tho it's a good on. Merging in now, thanks!

@davglass davglass merged commit 6c3a444 into from
@gragera
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 11, 2012
  1. @gragera

    Fixing typo when parsing @const tag

    gragera authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/docparser.js
View
2  lib/docparser.js
@@ -512,7 +512,7 @@ Y.log('param name/type/descript missing: ' + stringlog(block), 'warn', 'docparse
// change 'const' to final property
'const': function(tagname, value, target, block) {
- target.itemtype = property;
+ target.itemtype = 'property';
target.name = value;
target['final'] = '';
},
Something went wrong with that request. Please try again.