ccampbell/mousetrap — pull request #190 by rileyjshaw (2014-03-08 00:28:46+00:00)
Title: Include finishKey parameter on the record plugin

I can't think of many cases where the hardcoded one-second inactivity period to trigger the callback would be useful. This lets you set an escape key so that (for example) the recorded inputs can be returned as soon as the user presses 'enter'.