keithamus/jwerty — Issue #5: Key binding not working on IE
Author: elbourrino
Created: 2011-10-24 16:10:56+00:00
State: open

Hi,

First of all gratz for this awesome lib !
Nevertheless i cant make it work on internet explorer due to the event.metaKey property which is 'undefined' on IE.
Thus each property in the jwertyCode object are not equals to those in the event object :

```javascript
// For each property in the jwertyCode object, compare to `event`
for (var p in jwertyCode[n]) {
// ...except for jwertyCode.jwertyCombo...
if (p !== 'jwertyCombo' && event[p] !== jwertyCode[n][p]) returnValue = false;
}
```

I temporarily bypassed this IE problem by removing the metaKey references in your lib.