csnover / js-doc-parse

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

return type "undefined" listed unnecessarily #54

Open wkeese opened 12 years ago

wkeese commented 12 years ago

This is different from #24.

I'm seeing "undefined" listed unnecessarily as a return type from dijit/a11y.js::hasDefaultTabStop(). A simpler test case is:

dijit.hasDefaultTabStop = function(/*Element*/ elem){
    return true;
};

It gets flagged as having two return types.

There's something weird going on because I can make the hasDefaultTabStop() definition work by changing the definition of isTabNavigable() (which calls hasDefaultTabStop()).