<commit_before># Flux
A simple implementation of Facebook's Flux, an application architecture for building user interfaces (https://facebook.github.io/flux/).

# Install
- Install dependencies
  - underscore: http://underscorejs.org/
  - backbone: http://backbonejs.org/
- Install flux: `dist/flux.js`

# API Reference

## Flux

### #createStore

```coffeescript
# Defines a store that can be include in a flux context.
StoreClass = Flux.createStore

# Called when a flux context is created.
# `options` is the optional option hash passed in when creating the flux context.
initialize: (options) ->

  # Define actions handled by the store.
  # Keys are the names of the actions the store handles.
  # Values are the functions to handle the actions, the "action handlers".<commit_msg>Improve formatting in readme.<commit_after># Flux
A simple implementation of Facebook's Flux, an application architecture for building user interfaces (https://facebook.github.io/flux/).

# Install
- Install dependencies:
  - Underscore: http://underscorejs.org/
  - Backbone: http://backbonejs.org/
- Install Flux: `dist/flux.js`

# API Reference

## Flux

### #createStore

```coffeescript
# Defines a store that can be include in a flux context.
StoreClass = Flux.createStore

# Called when a flux context is created.
# `options` is the optional option hash passed in when creating the flux context.
initialize: (options) ->

  # Define actions handled by the store.
  # Keys are the names of the actions the store handles.
  # Values are the functions to handle the actions, the "action handlers".
{'fraction_non_alphanumeric': 0.09211356466876972, 'fraction_numerical': 0.0, 'mean_word_length': 4.067092651757188, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3884822', 'n_tokens_mistral': 457, 'n_tokens_neox': 431, 'n_words': 188}