Wikunia / brackets-FuncDocr

FuncDocr generates JS/PHPDoc annotations for your functions
101 stars 14 forks source link

Spurious logs #88

Closed ficristo closed 6 years ago

ficristo commented 7 years ago

There are some spurious log on the console: Uncaught TypeError: tagDef.replace is not a function throw throws and a regex

Wikunia commented 7 years ago

What do you do to get the Uncaught TypeError: tagDef.replace is not a function error? I don't see that one. Thanks for the issue.

ficristo commented 7 years ago

It seems is related to the @constructor js annotation. Using the tab keyword to go to {[[Type]]} it throws the exception above.

/**
 * Description
 * @constructor
 * @param {[[Type]]} foo [[Description]]
 */
function test(foo) {
}
Wikunia commented 7 years ago

Should work now! Thanks again :)

ficristo commented 7 years ago

In the last commit some console.log went in the tree.