A finite state machine javascript micro framework
Ruby
Switch branches/tags
Pull request Compare This branch is 9 commits ahead, 94 commits behind jakesgordon:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
vendor/assets/javascripts/state_machine
LICENSE
README.md
javascript-state-machine-rails.gemspec

README.md

Javascript Finite State Machine (v2.2.0)

This gem provides Jake Gordon's Javascript Finite State Machine micro-framework for the Rails asset pipeline.

Usage

First, add this to your project's Gemfile:

gem 'javascript-state-machine-rails'

Run bundle install to install it, and then add this to your project's Javascript manifest file (app/assets/javascript/application.js):

//= require state_machine

After that you're ready to roll. The upstream project's README is a good place to get started with some examples.

Links