Skip to content
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

Function signature hints showing ? #2

Closed
petetronic opened this issue Apr 5, 2013 · 0 comments
Closed

Function signature hints showing ? #2

petetronic opened this issue Apr 5, 2013 · 0 comments
Assignees

Comments

@petetronic
Copy link

//Define a functional object to hold persons in javascript
var Person = function (name) {
this.name = name;
};

//Add dynamically to the already defined object a new getter
Person.prototype.getName = function () {
return this.name;
};

//Create a new object of type Person
var john = new Person("John");

john.getName( // hint here shows ?

@ghost ghost assigned eztierney Apr 5, 2013
eztierney added a commit that referenced this issue Apr 5, 2013
Display the called properties name instead of "fn".
don't display "?" if the function type could not be determined.
dloverin pushed a commit that referenced this issue Apr 5, 2013
fixes #2 and #4 - function type hinting
eztierney added a commit that referenced this issue Apr 15, 2013
Use tern to sort ids by depth, remove scope info
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants