utils/keybinding.js
function keyupHandler (matchChar, method, evt) {
  // except for esc, we don't want to fire events when somebody is typing in an input
  if ((evt.target.tagName !== 'INPUT' && evt.target.tagName !== 'TEXTAREA' && !evt.target.hasAttribute('contenteditable')) || keysMatch(evt, 'esc')) {
    if (keysMatch(evt, matchChar)) method(evt);
  }
}
function keyupHandler (matchChar, method, evt) {
  // except for esc, we don't want to fire events when somebody is typing in an input
  if ((evt.target.tagName !== 'INPUT' && evt.target.tagName !== 'TEXTAREA' && !evt.target.hasAttribute('contenteditable')) || keysMatch(evt, 'esc')) {
    if (keysMatch(evt, matchChar)) method(evt);
  }
}
function keyupHandler ( matchChar , method , evt ) { // except for esc, we don't want to fire events when somebody is typing in an input if ( ( evt . target . tagName !== 'INPUT' && evt . target . tagName !== 'TEXTAREA' && ! evt . target . hasAttribute ( 'contenteditable' ) ) || keysMatch ( evt , 'esc' ) ) { if ( keysMatch ( evt , matchChar ) ) method ( evt ) ; } }
The method we call to parse the event for the key pressed - @arg {String}   matchChar - the character to match - @arg {Function} method    - function to call when the key specified is pressed - @arg {Object}   evt       - default browser keyup event
The method we call to parse the event for the key pressed -