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

Map 'meta' => 91, move 'command' to aliases #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

greim
Copy link
Collaborator

@greim greim commented Feb 4, 2015

I realize this is a compat break but if a major version is being bumped (#16 (comment)) maybe this would be a good time to add it?

Since browsers generify the ‘command’ and ‘windows’ keys to both be called ‘metaKey’ on event objects, it seems appropriate to do that here too and have ‘command’ and ‘windows’ be aliases. Also expose a ‘_canonicalCodes’ object and test it for duplicates as a sanity check.

Since browsers generify the ‘command’ and ‘windows’ keys to both be
called ‘metaKey’ on event objects, it seems appropriate to do that here
too and have ‘command’ and ‘windows’ be aliases. Also expose a
‘_canonicalCodes’ object and test it for duplicates as a sanity check.
@timoxley
Copy link
Owner

@greim sorry took me a while to get back to this. I think this change makes sense, but does need a major version bump. We could wait for a few more features then do a 3.0.0 release or just do a 3.0.0 release with only this one change. What do you think?

@greim
Copy link
Collaborator Author

greim commented Apr 18, 2015

Might be good to wait a bit and see if any other changes come to light. I'll definitely comment back here if it becomes an issue for me in the meantime. Thanks.

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.

2 participants