-
Notifications
You must be signed in to change notification settings - Fork 352
Highlight calls to "fetch" API #688
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
Comments
There are tons of other web apis. should we just add whichever ones people ask for? yajs uses a webidl system for this, but the keywords pollute other things like user defined prop names |
Good enough for GitHub and VSCode from what I've paid attention to today. |
we don't highlight any bultin method calls, but highlighting |
https://developer.mozilla.org/en-US/docs/Web/API any one keen to make the p.r. ? |
https://fetch.spec.whatwg.org/
Fetch is the promise-based XMLHttpRequest replacement. It's globally available such as other currently highlighted objects like
console
andwindow
.Example code taken from the MDN:
The text was updated successfully, but these errors were encountered: