csnover / js-doc-parse

An experimental library for parsing JavaScript files and extracting inline documentation.
31 stars 7 forks source link

prevent properties on functions showing up in annotations #81

Closed neonstalwart closed 11 years ago

neonstalwart commented 11 years ago

properties on constructors (aka static properties) were being picked up for annotated types. for example, in dojo/_base/Color, blendColors shows that it's parameters start and end have a named property but that property is on the Color constructor not on the prototype.

further along, there's even more weirdness when other properties attached to the constructor (eg blendColors) join the party.

neonstalwart commented 11 years ago

82 includes this in it's changes.