<commit_before><%#
# $Id: _simple_slip_menu.html.erb 3190 2014-01-21 13:41:42Z ichy $
# Product: hyacc
# Copyright 2009-2014 by Hybit<EMAIL>
# ALL Rights Reserved.
%>
<% current_user.simple_slip_settings.each do |sst| %>
  <%= link_to "#{sst.shortcut_key[5]}.#{sst.account.name}", { :controller=>"simple/#{sst.account.code}" },
        { :style=>style_for_menu(sst.account.code), :title=>"#{sst.account.name}　　#{sst.shortcut_key}" } %>
  |
<% end %>

<script>
  <% current_user.simple_slip_settings.each do |sst| %>
    shortcut.add("<%= sst.shortcut_key %>", function() { 
      document.location.href = "<%= url_for :controller=>"simple/#{sst.account.code}" %>";
    });
  <% end %>
</script><commit_msg>リファクタリング<commit_after><% current_user.simple_slip_settings.each do |sss| %>
  <%= link_to "#{sss.shortcut_key[5]}.#{sss.account.name}", {:controller => "simple/#{sss.account.code}"},
        :style => style_for_menu(sss.account.code), :title => "#{sss.account.name}　　#{sss.shortcut_key}" %>
  |
<% end %>

<script>
  <% current_user.simple_slip_settings.each do |sss| %>
    shortcut.add("<%= sss.shortcut_key %>", function() { 
      document.location.href = "<%= url_for :controller=>"simple/#{sss.account.code}" %>";
    });
  <% end %>
</script>
{'fraction_non_alphanumeric': 0.2239043824701195, 'fraction_numerical': 0.022310756972111555, 'mean_word_length': 4.4847161572052405, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 31, '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': '6877534', 'n_tokens_mistral': 532, 'n_tokens_neox': 490, 'n_words': 63}