Please sign in to comment.
Merge pull request #33 from dominictarr/keymaster
--- Ive moved the test for INPUT, SELECT and TEXTAREA into a property of `key`, `key.prekeydown` if the function assigned to `prekeydown` returns `false`, then keymaster ignores the key press. you can also change scope in this function, so you can have a scope the shortcuts that work inside an input. one quirk is that keys in the all scope still work when youve changed the scope. so, if you want shortcuts that do not apply inside an input, you need to assign them to a particular scope. Conflicts: keymaster.min.js
- Loading branch information...
Showing with 42 additions and 9 deletions.