Closed greim closed 9 years ago
A workaround is possible but code like this is no longer possible:
var pressed = keycode(ev); if ('shift' === pressed) { // do something }
I can provide a PR later if needed. Re-ordering the codes object literal ought to fix it.
codes
Yep, I think that's the only solution that will have most minor break to compatibility
Solved in #16.
A workaround is possible but code like this is no longer possible:
I can provide a PR later if needed. Re-ordering the
codes
object literal ought to fix it.