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

event.keyCode is deprecated, use new .code API #2125

Merged
merged 3 commits into from Mar 19, 2022
Merged

event.keyCode is deprecated, use new .code API #2125

merged 3 commits into from Mar 19, 2022

Conversation

code913
Copy link
Contributor

@code913 code913 commented Jan 30, 2022

Some browser don't support code so I added a fallback for keyCode

Some browser don't support `code` so I added a fallback for `keyCode`
example/yargs.html Show resolved Hide resolved
bcoe
bcoe approved these changes Mar 19, 2022
@bcoe bcoe merged commit 0bb49c3 into yargs:main Mar 19, 2022
7 checks passed
@code913 code913 deleted the patch-1 branch Mar 21, 2022
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

Successfully merging this pull request may close these issues.

None yet

2 participants