<commit_before>- content_for :head_javascripts do
  :coffeescript
    if window.opener
      window.close()
      window.opener.heroes_controller.refreshSession()

%section#home-index
  .row#main-row
    .span16#header
      .header
        = image_tag 'githeroes-600x170.png'
        .blurb
          Vote for your hero on Github!
      .heroes
        = render :partial => 'heroes/list', :locals => { :heroes => @heroes }

      .nominate
        %a{:class => 'btn success large', :id => 'nominate-hero', 'data-controls-modal' => "nominate-hero-modal", 'data-backdrop' => 'static', :href => '#'}
          Nominate your Own Hero!<commit_msg>Reload the page after GitHub OAuth so as to get the voting status<commit_after>- content_for :head_javascripts do
  :coffeescript
    if window.opener
      window.close()
      window.opener.location.reload(true)

%section#home-index
  .row#main-row
    .span16#header
      .header
        = image_tag 'githeroes-600x170.png'
        .blurb
          Vote for your hero on Github!
      .heroes
        = render :partial => 'heroes/list', :locals => { :heroes => @heroes }

      .nominate
        %a{:class => 'btn success large', :id => 'nominate-hero', 'data-controls-modal' => "nominate-hero-modal", 'data-backdrop' => 'static', :href => '#'}
          Nominate your Own Hero!
{'fraction_non_alphanumeric': 0.13886792452830188, 'fraction_numerical': 0.012075471698113207, 'mean_word_length': 2.632876712328767, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 19, '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': '337007', 'n_tokens_mistral': 446, 'n_tokens_neox': 430, 'n_words': 101}