<commit_before>require 'ext/ember/namespace'

Em.View.reopen
  init: ->
    this.container ||= Travis.__container__

    @_super.apply(this, arguments)

@Travis.reopen
  View: Em.View.extend
    actions:
      popup: (name) -> @popup(name)
      popupClose: -> @popupClose()

    popup: (name) ->
      @popupCloseAll()
      name = event?.target?.name || name
      $("##{name}").toggleClass('display')
    popupClose: ->
      $(event.target).closest('.popup').removeClass('display')
    popupCloseAll: ->
      if view = Travis.View.currentPopupView
        view.destroy()
        Travis.View.currentPopupView = null

      $('.popup').removeClass('display')

Travis.IndexView = Travis.View.extend
  layoutName: 'layouts/home'
  classNames: ['application']<commit_msg>Add layout for notFound view<commit_after>require 'ext/ember/namespace'

Em.View.reopen
  init: ->
    this.container ||= Travis.__container__

    @_super.apply(this, arguments)

Travis.NotFoundView = Ember.View.extend
  layoutName: 'layouts/simple'

@Travis.reopen
  View: Em.View.extend
    actions:
      popup: (name) -> @popup(name)
      popupClose: -> @popupClose()

    popup: (name) ->
      @popupCloseAll()
      name = event?.target?.name || name
      $("##{name}").toggleClass('display')
    popupClose: ->
      $(event.target).closest('.popup').removeClass('display')
    popupCloseAll: ->
      if view = Travis.View.currentPopupView
        view.destroy()
        Travis.View.currentPopupView = null

      $('.popup').removeClass('display')

Travis.IndexView = Travis.View.extend
  layoutName: 'layouts/home'
  classNames: ['application']
{'fraction_non_alphanumeric': 0.15837937384898712, 'fraction_numerical': 0.0, 'mean_word_length': 3.1687979539641944, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, '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': '794522', 'n_tokens_mistral': 527, 'n_tokens_neox': 519, 'n_words': 87}