<commit_before>/** @jsx React.DOM */

fresh.widgets.Timeline = React.createClass({
  /**
   * Input: {
   *   widget: 'Timeline',
   *   item: 'Author',
   *   data: 'http://localhost/static/users.json'
   * }
   */
  mixins: [fresh.mixins.SetIntervalMixin,
           fresh.mixins.DataManagerMixin],
  render: function() {
    return (
      <ul className="Timeline">
        {this.state.data.map(function(item, index) {
          var itemWidget = fresh.getWidgetByName(item.widget);
          return <li key={index}>{itemWidget(item)}</li>
        })}
      </ul>
    );
  }
});
<commit_msg>Rename Timeline widget to List<commit_after>/** @jsx React.DOM */

fresh.widgets.List = React.createClass({
  /**
   * Input: {
   *   widget: 'List',
   *   data: 'http://localhost/static/users.json'
   * }
   */
  mixins: [fresh.mixins.SetIntervalMixin,
           fresh.mixins.DataManagerMixin],
  render: function() {
    return (
      <ul className="List">
        {this.state.data.map(function(item, index) {
          var itemWidget = fresh.getWidgetByName(item.widget);
          return <li key={index}>{itemWidget(item)}</li>
        })}
      </ul>
    );
  }
});

{'fraction_non_alphanumeric': 0.1738013698630137, 'fraction_numerical': 0.0, 'mean_word_length': 2.4281524926686218, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '5285051', 'n_tokens_mistral': 401, 'n_tokens_neox': 394, 'n_words': 60}