<commit_before>{div} = React.DOM

window.FavoritesListClass = React.createClass

  displayName: "FavoritesListClass"

  render: ->
    (div {}, "Hello Favorites!" )

window.FavoritesList = React.createFactory FavoritesListClass

Portal.renderFavorites = (results, dest) ->
  ReactDOM.render FavoritesList(results: results), jQuery(dest)[0]
<commit_msg>Render SMaterialIcon for each material.<commit_after>{div, br} = React.DOM

window.FavoritesListClass = React.createClass

  displayName: "FavoritesListClass"

  render: ->
    (div {}, 
      for item in @props.items
        (SMaterialIcon {material: item}) 
    )


window.FavoritesList = React.createFactory FavoritesListClass

Portal.renderFavorites = (array, dest) ->
  ReactDOM.render FavoritesList(items: array), jQuery(dest)[0]

{'fraction_non_alphanumeric': 0.116751269035533, 'fraction_numerical': 0.0025380710659898475, 'mean_word_length': 4.717391304347826, 'pattern_counts': {'":': 0, '<': 3, '<?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': '2368876', 'n_tokens_mistral': 258, 'n_tokens_neox': 252, 'n_words': 50}