<commit_before>doctype html
html
  head
    meta charset="utf-8"
    title Molecule - Examples
    script src="molecule.js"
    link rel="stylesheet" href="example.css"
    link rel="stylesheet" href="molecule.css"
    coffee:
      window.React = require 'react'
      window.Molecule = require 'lib'
      window.$ = React.createElement

  body
    header
      h1 Molecule: Examples
    article
      markdown:
        List of examples showing molecule components, styles and configuration options.
      ul
        li
          a href="button.html" Button<commit_msg>Add examples index and react notice<commit_after>doctype html
html
  head
    meta charset="utf-8"
    title Molecule - Examples
    script src="molecule.js"
    link rel="stylesheet" href="example.css"
    link rel="stylesheet" href="molecule.css"
    coffee:
      window.React = require 'react'
      window.Molecule = require 'lib'
      window.$ = React.createElement

  body
    header
      h1 Molecule: Examples
    article
      markdown:
        List of examples showing molecule components, styles and
        configuration options.

        * [Button](button.html) examples showing usage of single
          buttons and button groups

        ## Notice for React examples

        The function `React.createElement` is aliased as `$` allowing
        to write simple nested things in coffeescript like this:

            $ 'div', null,
              $ Molecule.Button, null, 'Button A'
              $ Molecule.Button, null, 'Button B'

        This will render a div tag containing two buttons without
        using `React.DOM` or `createFactory`. This style is not necessary
        but only a personal preference.
{'fraction_non_alphanumeric': 0.075927015891701, 'fraction_numerical': 0.002354326074161271, 'mean_word_length': 2.4412955465587043, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1014267', 'n_tokens_mistral': 458, 'n_tokens_neox': 437, 'n_words': 159}