<commit_before><link rel="import" href="chrome://resources/polymer/core-menu/core-menu.html">
<link rel="import" href="chrome://resources/polymer/paper-item/paper-item.html">

<polymer-element name="cr-settings-menu">
  <template>
    <link rel="stylesheet" href="settings_menu.css">
    <core-menu selected="{{selectedId}}" valueattr="data-id">
      <template repeat="{{pages}}">
        <paper-item data-id="{{PAGE_ID}}">
          <core-icon icon="{{icon}}"></core-icon>
          {{pageTitle}}
        </paper-item>
      </template>
    </core-menu>
  </template>
  <script src="settings_menu.js"></script>
</polymer-element><commit_msg>Fix the freezing ripple on the cr-settings-menu by disabling the selectedAttribute as a workaround. See https://github.com/Polymer/polymer/issues/946.<commit_after><link rel="import" href="chrome://resources/polymer/core-menu/core-menu.html">
<link rel="import" href="chrome://resources/polymer/paper-item/paper-item.html">

<polymer-element name="cr-settings-menu">
  <template>
    <link rel="stylesheet" href="settings_menu.css">
    <!-- TODO(jlklein): selectedAttribute here is a workaround for
         https://github.com/Polymer/polymer/issues/946. Remove when core-menu
         is updated. -->
    <core-menu selected="{{selectedId}}" valueattr="data-id"
        selectedAttribute="">
      <template repeat="{{pages}}">
        <paper-item data-id="{{PAGE_ID}}">
          <core-icon icon="{{icon}}"></core-icon>
          {{pageTitle}}
        </paper-item>
      </template>
    </core-menu>
  </template>
  <script src="settings_menu.js"></script>
</polymer-element>
{'fraction_non_alphanumeric': 0.18865598027127004, 'fraction_numerical': 0.0036991368680641184, 'mean_word_length': 3.623931623931624, 'pattern_counts': {'":': 0, '<': 38, '<?xml version=': 0, '>': 38, 'https://': 2, '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': '3750651', 'n_tokens_mistral': 503, 'n_tokens_neox': 483, 'n_words': 86}