<commit_before>Meteor.startup ->
  $(document)
    .on 'show.bs.modal', ->
      $(@).on 'keyup', (event) ->
        if event.keyCode is 27
          $('.modal').each (modal) -> $(@).modal 'hide'
    .on 'hide.bs.modal', ->
      $(@).off 'keyup'

  $('html').attr('lang', 'en')<commit_msg>Focus first input of modals<commit_after>Meteor.startup ->
  $(document)
    .on 'show.bs.modal', ->
      $(@).on 'keyup', (event) ->
        if event.keyCode is 27
          $('.modal').each (modal) -> $(@).modal 'hide'
    .on 'hide.bs.modal', ->
      $(@).off 'keyup'
    .on 'shown.bs.modal', ->
      $('.modal-content').find('.form-control').first().focus()

  $('html').attr('lang', 'en')
{'fraction_non_alphanumeric': 0.26200873362445415, 'fraction_numerical': 0.005822416302765648, 'mean_word_length': 2.372549019607843, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 14, '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': '1317852', 'n_tokens_mistral': 259, 'n_tokens_neox': 249, 'n_words': 48}