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

Use event.key instead of event.which #131

Merged
merged 1 commit into from
Apr 15, 2018
Merged

Use event.key instead of event.which #131

merged 1 commit into from
Apr 15, 2018

Conversation

tmcw
Copy link
Owner

@tmcw tmcw commented Apr 15, 2018

Event.which is used by big, but is deprecated from web standards. KeyboardEvent.key is the 'correct' way to do it. This does cut IE8 support but I suspect we don't have IE8 support anyway, given that we use a bunch of other more modern JavaScript features.

Fixes #129

@tmcw tmcw merged commit 41e46d4 into gh-pages Apr 15, 2018
@tmcw tmcw deleted the event-key branch April 15, 2018 21:29
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.

1 participant