<commit_before><!DOCTYPE html>
<html>

<head lang="en">
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>vaadin-grid</title>

  <script src="../elements-demo-resources/ga.js"></script>
  <script src="../webcomponentsjs/webcomponents-lite.min.js"></script>
  <link rel="import" href="../polymer/polymer.html">
  <link rel="import" href="../iron-component-page/iron-component-page.html">
  <link rel="import" href="vaadin-grid.html">
  <link rel="import" href="vaadin-grid-selection-column.html">
</head>

<body>
  <style>
    /*
      snatched from GitHub, use to style the <kbd> elements in keyboard navigation
      documentation in vaadin-grid.html.
     */
    kbd {
      display: inline-block;
      padding: 3px 5px;
      font-size: 11px;
      line-height: 10px;
      color: #555;
      vertical-align: middle;
      background-color: #fcfcfc;
      border: solid 1px #ccc;
      border-bottom-color: #bbb;
      border-radius: 3px;
      box-shadow: inset 0 -1px 0 #bbb;
    }
  </style>

  <vaadin-grid-docs></vaadin-grid-docs>
  <dom-module id="vaadin-grid-docs">
    <template>
      <iron-component-page id="docs" src="index.html" on-doc-elements-changed="_filterElements" on-doc-behaviors-changed="_filterBehaviors"></iron-component-page>
    </template>
    <script>
      document.addEventListener('WebComponentsReady', function() {
        Polymer({
          is: 'vaadin-grid-docs',

          _filterBehaviors: function(e) {
            this.$.docs.docBehaviors.forEach(function(beh, index) {
              // blacklist internal APIs
              if (/iron|Iron|Table|FocusableCellContainer/.test(beh.is)) {
                this.$.docs.splice('docBehaviors', index, 1);
              }
            }.bind(this));
          },

          _filterElements: function(e) {
            this.$.docs.docElements.forEach(function(el, index) {
              // whitelist public elements
              if (!/vaadin-grid$|column|filter|sorter/.test(el.is)) {
                this.$.docs.splice('docElements', index, 1);
              }
            }.bind(this));
          }
        });
      });
    </script>
  </dom-module>
</body>

</html><commit_msg>Remove Polymer behaviors from api docs<commit_after><!DOCTYPE html>
<html>

<head lang="en">
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>vaadin-grid</title>

  <script src="../elements-demo-resources/ga.js"></script>
  <script src="../webcomponentsjs/webcomponents-lite.min.js"></script>
  <link rel="import" href="../polymer/polymer.html">
  <link rel="import" href="../iron-component-page/iron-component-page.html">
  <link rel="import" href="vaadin-grid.html">
  <link rel="import" href="vaadin-grid-selection-column.html">
</head>

<body>
  <style>
    /*
      snatched from GitHub, use to style the <kbd> elements in keyboard navigation
      documentation in vaadin-grid.html.
     */
    kbd {
      display: inline-block;
      padding: 3px 5px;
      font-size: 11px;
      line-height: 10px;
      color: #555;
      vertical-align: middle;
      background-color: #fcfcfc;
      border: solid 1px #ccc;
      border-bottom-color: #bbb;
      border-radius: 3px;
      box-shadow: inset 0 -1px 0 #bbb;
    }
  </style>

  <vaadin-grid-docs></vaadin-grid-docs>
  <dom-module id="vaadin-grid-docs">
    <template>
      <iron-component-page id="docs" src="index.html" on-doc-elements-changed="_filterElements" on-doc-behaviors-changed="_filterBehaviors"></iron-component-page>
    </template>
    <script>
      document.addEventListener('WebComponentsReady', function() {
        Polymer({
          is: 'vaadin-grid-docs',

          _filterBehaviors: function(e) {
            this.$.docs.docBehaviors.forEach(function(beh, index) {
              // blacklist internal APIs
              if (/Polymer|iron|Iron|Table|FocusableCellContainer/.test(beh.is)) {
                this.$.docs.splice('docBehaviors', index, 1);
              }
            }.bind(this));
          },

          _filterElements: function(e) {
            this.$.docs.docElements.forEach(function(el, index) {
              // whitelist public elements
              if (!/vaadin-grid$|column|filter|sorter/.test(el.is)) {
                this.$.docs.splice('docElements', index, 1);
              }
            }.bind(this));
          }
        });
      });
    </script>
  </dom-module>
</body>

</html>
{'fraction_non_alphanumeric': 0.16297786720321933, 'fraction_numerical': 0.008048289738430584, 'mean_word_length': 2.420489296636086, 'pattern_counts': {'":': 0, '<': 67, '<?xml version=': 0, '>': 67, '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': '5948264', 'n_tokens_mistral': 1498, 'n_tokens_neox': 1405, 'n_words': 250}