-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not finding functions #7
Comments
It also doesn't process public functions like this.fn = function(){} Thanks. |
You can add the following code which solves the "this" issue: else if(results[0] === "this" && results[2] === "function"){
return {
name: results[1],
params: results.slice(3),
prefix: getPrefix(txtFrom, results[0])
};
} |
I consistently use expressions like else if (results[1] === "function") {
return {
name: results[0],
params: results.slice(2),
prefix: getPrefix(txtFrom, results[0])
};
} |
Added with #25 |
it doesnt recognise functions with spaces between parameters eg: |
Expressions like this : var test = fucntion (c, d){ ..} does not recognize |
When I run annotate, I always get the alert "no functions found". I consistently use expressions (foo = function() {}) rather than function declarations. Is that the reason, or is something else going on?
Thanks,
Robert
The text was updated successfully, but these errors were encountered: