Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Fixing typo when parsing @const tag #20

merged 1 commit into from

3 participants


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'


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

@davglass davglass was assigned

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
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
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'; = value;
target['final'] = '';
Something went wrong with that request. Please try again.