<commit_before>"use strict"

# Toolbox = require 'react-toolbox'
# Button  = Toolbox.Button
Button  = require 'react-toolbox/components/button'
Form    = require 'react-toolbox/components/form'

App = React.createClass

  # --
  getInitialState: ->
    fields: [
      ref: "username", label: "Your username", required: true
    ,
      ref: "password", type: "password", label: "<PASSWORD>", required: true
    ,
      type: "submit", caption: "Login", disabled: true
    ]

  render: ->
    <app>
      <h1>Hello React-Toolbox</h1>
      <Form attributes={@state.fields} />
      <Button caption="Hello world!" type="square" style="primary"/>
      <Button icon="adb" type="circle" style="secondary" />
    </app><commit_msg>Explain for different ways for get dependencies.<commit_after>"use strict"

# React-Toolbox full dependency way:
# Toolbox = require 'react-toolbox'
# Button  = Toolbox.Button
# Form    = Toolbox.Form

# Standalone dependencies way:
Button  = require 'react-toolbox/components/button'
Form    = require 'react-toolbox/components/form'

App = React.createClass

  # --
  getInitialState: ->
    fields: [
      ref: "username", label: "Your username", required: true
    ,
      ref: "password", type: "password", label: "Your password", required: true
    ,
      type: "submit", caption: "Login", disabled: true
    ]

  render: ->
    <app>
      <h1>Hello React-Toolbox</h1>
      <Form attributes={@state.fields} />
      <Button caption="Hello world!" type="square" style="primary"/>
      <Button icon="adb" type="circle" style="secondary" />
    </app>
{'fraction_non_alphanumeric': 0.1532156368221942, 'fraction_numerical': 0.0025220680958385876, 'mean_word_length': 3.289189189189189, 'pattern_counts': {'":': 0, '<': 18, '<?xml version=': 0, '>': 22, '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': '1960100', 'n_tokens_mistral': 492, 'n_tokens_neox': 483, 'n_words': 123}