-
Notifications
You must be signed in to change notification settings - Fork 0
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
[CLOSED] Wrong parameter suggestions for JavaScript DOM Function #10496
Comments
Comment by petetnt I can confirm, as can #12216. It is there on and https://github.com/ternjs/tern/blob/master/defs/browser.json#L1278 though. Weird. edit: It also works on the demo: http://ternjs.net/doc/demo/#simple |
Comment by 1405570455 Yes the two JSON files you linked to showed it properly implemented. I compared it to the |
Comment by petetnt
|
Comment by busykai It works for me, guys. Do you have any related extensions, such as |
Comment by petetnt
|
Comment by busykai Nope, I was wrong. It does not work for me. I was trying |
Comment by busykai Oh, it's been fixed in |
Comment by petetnt
I tried to update |
Comment by MiguelCastillo
|
Comment by busykai Thanks |
Comment by MarcelGerber This is fixed with the merge of #11569 and will come to you in Release 1.8. |
Issue by 1405570455
Monday Feb 15, 2016 at 04:26 GMT
Originally opened as adobe/brackets#12212
As I was coding, I realized that unlike
document.getElementsByTagName
, when I type indocument.getElementsByClassName
it is suggested not as a function (as it should), but as a method (like.toLowerCase
).Also, if I ignore the suggestion and keep typing it, brackets recognizes it as the method and proceeds to tell me there are no parameters (when there should be a string 'name').
Here are links to Mozilla's documentation on the
document.getElementByClassName
:click here.
If this is truly an issue, the fix probably won't take that long. Thank you.
The text was updated successfully, but these errors were encountered: