Skip to content

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