ccampbell/mousetrap — pull request #52 by Cogito (2012-08-09 02:42:55+00:00)
Title: Relates to issue #18

Previously, the only way to allow elements such as textarea, input, and select
to fire key events was to whitelist them by giving them the 'moustrap' class.
This meant that in order to use mousetrap with existing applications a change
to the html markup might be required.

In order to make this more flexible, and so easier to adopt in existing
applications, we add whitelist() and unwhitelist() methods that can modify
the whitelisted classes easily.

Signed-off-by: Andrew Ardill