<commit_before>- menu = attr 'menu'
- menuitem = attr 'menuitem'
- if !(submenus = attr 'submenus').empty?
  span.menuseq
    span.menu=menu
    '&#160;&#9656;
    ='submenus.map {|submenu| %(<span class="submenu">#{submenu}</span>&#160;&#9656; ) }.join.chop
    span.menuitem=menuitem
- elsif !menuitem.nil?
  span.menuseq
    span.menu=menu
    '&#160;&#9656;
    span.menuitem=menuitem
- else
  span.menu=menu<commit_msg>resolves #8 eliminate use of deprecated syntax in Slim template<commit_after>- menu = attr 'menu'
- menuitem = attr 'menuitem'
- if !(submenus = attr 'submenus').empty?
  span.menuseq
    span.menu=menu
    |&#160;&#9656;&#32;
    =submenus.map {|submenu| %(<span class="submenu">#{submenu}</span>&#160;&#9656;&#32;) }.join
    span.menuitem=menuitem
- elsif !menuitem.nil?
  span.menuseq
    span.menu=menu
    |&#160;&#9656;&#32;
    span.menuitem=menuitem
- else
  span.menu=menu
{'fraction_non_alphanumeric': 0.18543046357615894, 'fraction_numerical': 0.05408388520971302, 'mean_word_length': 3.9835164835164836, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '2871547', 'n_tokens_mistral': 386, 'n_tokens_neox': 363, 'n_words': 64}