<commit_before>$(document).keydown(function (event) {
  if (event.which == 27 || (keyboardHelpVisible && event.which == 191 && event.shiftKey && event.metaKey)) {
    if (keyboardHelpVisible) {
      $body.toggleClass('keyboardHelp');
      keyboardHelpVisible = false;
    } else if (prefsOpen) {
      $body.toggleClass('prefsOpen');
      prefsOpen = false;
    } else if (dropdownOpen) {
      $('.menu.open').removeClass('open');
      dropdownOpen = false;
    } else if (loginVisible) {
      $('#login').hide();
      loginVisible = false;
    }
  }
});<commit_msg>Little fun to show off jsbin logo (once it's all designed)<commit_after>var loginVisible = false,
    dropdownOpen = false,
    keyboardHelpVisible = false;
$document.keydown(function (event) {
  if (event.which == 27 || (keyboardHelpVisible && event.which == 191 && event.shiftKey && event.metaKey)) {
    if (keyboardHelpVisible) {
      $body.toggleClass('keyboardHelp');
      keyboardHelpVisible = false;
    } else if (prefsOpen) {
      $body.toggleClass('prefsOpen');
      prefsOpen = false;
    } else if (dropdownOpen) {
      $('.menu.open').removeClass('open');
      dropdownOpen = false;
    } else if (loginVisible) {
      $('#login').hide();
      loginVisible = false;
    } else if ($('#history').length && !$body.hasClass('panelsVisible')) {
      $('#history').toggle(100);
    }
  }
});
{'fraction_non_alphanumeric': 0.1671490593342981, 'fraction_numerical': 0.009406657018813314, 'mean_word_length': 3.2685185185185186, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1598803', 'n_tokens_mistral': 435, 'n_tokens_neox': 423, 'n_words': 88}