Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Comments

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

Open
greim wants to merge 1 commit intotimoxley:master from
greim:meta-key
Open

Map 'meta' => 91, move 'command' to aliases #17
greim wants to merge 1 commit intotimoxley:master from
greim:meta-key

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.
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?

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /