-
Notifications
You must be signed in to change notification settings - Fork 22.5k
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
No more vars in Web/API #16662
Labels
Content:WebAPI
Web API docs
Comments
github-actions
bot
added
the
needs triage
Triage needed by staff and/or partners. Automatically applied when an issue is opened.
label
May 25, 2022
sideshowbarker
removed
the
needs triage
Triage needed by staff and/or partners. Automatically applied when an issue is opened.
label
May 25, 2022
teoli2003
added
good first issue
A good issue for newcomers to get started with.
help wanted
If you know something about this topic, we would love your help!
Content:WebAPI
Web API docs
labels
May 26, 2022
Would love to help with few links as provided in the google sheet files, would add appropriate variable declaration using ES6. |
Thank you @suryanva ! I added you to the sheet. |
3 tasks
github-actions
bot
added
the
needs triage
Triage needed by staff and/or partners. Automatically applied when an issue is opened.
label
May 26, 2022
3 tasks
sideshowbarker
removed
the
needs triage
Triage needed by staff and/or partners. Automatically applied when an issue is opened.
label
May 27, 2022
sideshowbarker
removed
good first issue
A good issue for newcomers to get started with.
help wanted
If you know something about this topic, we would love your help!
labels
May 27, 2022
This was referenced May 27, 2022
Closed
I would like to work on this. |
3 tasks
Since I've been working on this, I would like to ask for access to the google sheet. |
3 tasks
This was referenced Jun 2, 2022
Merged
Merged
lionralfs
added a commit
to lionralfs/content
that referenced
this issue
Jul 27, 2022
* See mdn#16662 * See #10389 * See https://github.com/orgs/mdn/discussions/143 * Mostly automated via my ESLint setup, using the rules 'no-var' and 'prefer-const'
lionralfs
added a commit
to lionralfs/content
that referenced
this issue
Jul 27, 2022
* See mdn#16662 * See #10389 * See https://github.com/orgs/mdn/discussions/143 * Mostly automated via my ESLint setup, using the rules 'no-var' and 'prefer-const'
teoli2003
added a commit
that referenced
this issue
Jul 28, 2022
* no more vars in Web/API * See #16662 * See https://github.com/mdn/content/discussions/10389 * See https://github.com/orgs/mdn/discussions/143 * Mostly automated via my ESLint setup, using the rules 'no-var' and 'prefer-const' * Apply suggestions from code review Co-authored-by: Jean-Yves Perrier <[email protected]> * use AudioContext directly * Update files/en-us/web/api/audiocontext/index.md Co-authored-by: Jean-Yves Perrier <[email protected]> Co-authored-by: Jean-Yves Perrier <[email protected]>
teoli2003
added a commit
that referenced
this issue
Jul 28, 2022
* no more vars in Web/API * See #16662 * See #10389 * See https://github.com/orgs/mdn/discussions/143 * Mostly automated via my ESLint setup, using the rules 'no-var' and 'prefer-const' * split var declarations into 2 lines, rename them * Apply suggestions from code review Co-authored-by: rubiesonthesky <[email protected]> * keep var in polyfills * Apply suggestions from code review Co-authored-by: Jean-Yves Perrier <[email protected]> Co-authored-by: rubiesonthesky <[email protected]> Co-authored-by: Jean-Yves Perrier <[email protected]>
teoli2003
added a commit
that referenced
this issue
Jul 28, 2022
* no more vars in Web/API * See #16662 * See #10389 * See https://github.com/orgs/mdn/discussions/143 * Mostly automated via my ESLint setup, using the rules 'no-var' and 'prefer-const' * Apply suggestions from code review Co-authored-by: Jean-Yves Perrier <[email protected]> * Update files/en-us/web/api/element/outerhtml/index.md Co-authored-by: Joshua Chen <[email protected]> Co-authored-by: Jean-Yves Perrier <[email protected]> Co-authored-by: Joshua Chen <[email protected]>
lionralfs
added a commit
to lionralfs/content
that referenced
this issue
Jul 28, 2022
* See mdn#16662 * See #10389 * See https://github.com/orgs/mdn/discussions/143 * Mostly automated via my ESLint setup, using the rules 'no-var' and 'prefer-const'
lionralfs
added a commit
to lionralfs/content
that referenced
this issue
Jul 28, 2022
* See mdn#16662 * See #10389 * See https://github.com/orgs/mdn/discussions/143 * Mostly automated via my ESLint setup, using the rules 'no-var' and 'prefer-const'
lionralfs
added a commit
to lionralfs/content
that referenced
this issue
Jul 28, 2022
* See mdn#16662 * See #10389 * See https://github.com/orgs/mdn/discussions/143 * Mostly automated via my ESLint setup, using the rules 'no-var' and 'prefer-const'
lionralfs
added a commit
to lionralfs/content
that referenced
this issue
Jul 28, 2022
* See mdn#16662 * See #10389 * See https://github.com/orgs/mdn/discussions/143 * Mostly automated via my ESLint setup, using the rules 'no-var' and 'prefer-const'
lionralfs
added a commit
to lionralfs/content
that referenced
this issue
Jul 28, 2022
* See mdn#16662 * See #10389 * See https://github.com/orgs/mdn/discussions/143 * Mostly automated via my ESLint setup, using the rules 'no-var' and 'prefer-const'
lionralfs
added a commit
to lionralfs/content
that referenced
this issue
Jul 28, 2022
* See mdn#16662 * See #10389 * See https://github.com/orgs/mdn/discussions/143 * Mostly automated via my ESLint setup, using the rules 'no-var' and 'prefer-const'
lionralfs
added a commit
to lionralfs/content
that referenced
this issue
Jul 28, 2022
* See mdn#16662 * See #10389 * See https://github.com/orgs/mdn/discussions/143 * Mostly automated via my ESLint setup, using the rules 'no-var' and 'prefer-const'
lionralfs
added a commit
to lionralfs/content
that referenced
this issue
Jul 28, 2022
* See mdn#16662 * See #10389 * See https://github.com/orgs/mdn/discussions/143 * Mostly automated via my ESLint setup, using the rules 'no-var' and 'prefer-const'
lionralfs
added a commit
to lionralfs/content
that referenced
this issue
Jul 28, 2022
* See mdn#16662 * See #10389 * See https://github.com/orgs/mdn/discussions/143 * Mostly automated via my ESLint setup, using the rules 'no-var' and 'prefer-const'
lionralfs
added a commit
to lionralfs/content
that referenced
this issue
Jul 28, 2022
* See mdn#16662 * See #10389 * See https://github.com/orgs/mdn/discussions/143 * Mostly automated via my ESLint setup, using the rules 'no-var' and 'prefer-const'
teoli2003
added a commit
that referenced
this issue
Jul 28, 2022
* no more vars in Web/API * See #16662 * See #10389 * See https://github.com/orgs/mdn/discussions/143 * Mostly automated via my ESLint setup, using the rules 'no-var' and 'prefer-const' * revert unrelated changes * space before loop opening parenthesis * two more * Use switch * Apply suggestions from code review Co-authored-by: Jean-Yves Perrier <[email protected]> Co-authored-by: Jean-Yves Perrier <[email protected]>
teoli2003
added a commit
that referenced
this issue
Jul 28, 2022
* no more vars in Web/API * See #16662 * See #10389 * See https://github.com/orgs/mdn/discussions/143 * Mostly automated via my ESLint setup, using the rules 'no-var' and 'prefer-const' * Apply suggestions from code review Co-authored-by: Jean-Yves Perrier <[email protected]> Co-authored-by: Jean-Yves Perrier <[email protected]>
teoli2003
added a commit
that referenced
this issue
Jul 28, 2022
* no more vars in Web/API * See #16662 * See #10389 * See https://github.com/orgs/mdn/discussions/143 * Mostly automated via my ESLint setup, using the rules 'no-var' and 'prefer-const' * Apply suggestions from code review Co-authored-by: Jean-Yves Perrier <[email protected]> * Update files/en-us/web/api/webgl2renderingcontext/getactiveuniformblockparameter/index.md Co-authored-by: Jean-Yves Perrier <[email protected]> Co-authored-by: Jean-Yves Perrier <[email protected]>
lionralfs
added a commit
to lionralfs/content
that referenced
this issue
Jul 28, 2022
* See mdn#16662 * See #10389 * See https://github.com/orgs/mdn/discussions/143 * Mostly automated via my ESLint setup, using the rules 'no-var' and 'prefer-const'
lionralfs
added a commit
to lionralfs/content
that referenced
this issue
Jul 28, 2022
* See mdn#16662 * See #10389 * See https://github.com/orgs/mdn/discussions/143 * Mostly automated via my ESLint setup, using the rules 'no-var' and 'prefer-const'
teoli2003
added a commit
that referenced
this issue
Jul 28, 2022
* no more vars in Web/API * See #16662 * See #10389 * See https://github.com/orgs/mdn/discussions/143 * Mostly automated via my ESLint setup, using the rules 'no-var' and 'prefer-const' * Remove workaround for pre IE11 * Remove pre-IE9 workaround * Apply suggestions from code review Co-authored-by: Jean-Yves Perrier <[email protected]> * Update files/en-us/web/api/wheelevent/deltamode/index.md Co-authored-by: Jean-Yves Perrier <[email protected]> Co-authored-by: Jean-Yves Perrier <[email protected]>
3 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is the companion to #16614, but for Web/API.
Here's a spreadsheet: https://docs.google.com/spreadsheets/d/1sl6gT8o-7yRPymZprwn6PNBRLQ6KNsKPFILLntsL7gk/edit#gid=0 listing all the pages under Web/API that use
var
.We should replace usages of
var
withconst
orlet
as appropriate.If you want to help, please add a comment here and request access to the spreadsheet. Once you have access:
Note that:
const
when we can,let
when we have to".for...of
rather thanfor
, and template literals, and arrow functions. But it's not needed at this point.The text was updated successfully, but these errors were encountered: