gtramontina/keyvent.js — Issue #1: event.keyCode
Author: vvgomes
Created: 2012-02-05 03:21:02+00:00
State: open

When you write a spec using something like this
> keyvent.on(searchInput).down(13);
and implement it as:
> if (event.keyCode === 13)
the resulting event hash doesn't have the **keyCode** entry, even though in some browsers, like Chrome or Firefox, the resulting hash has it. Therefore, using the **which** key it works fine.

Is that something expected? If yes, why?

Thanks ;)