Browse files


  • Loading branch information...
jakesgordon committed Jan 7, 2012
1 parent 9e5000c commit cafa48b5f7cf2e1425263e05c1fc5d568e72d495
Showing with 11 additions and 5 deletions.
  1. +1 −1 LICENSE
  2. +5 −2
  3. +5 −2
@@ -1,4 +1,4 @@
-Copyright (c) 2011 Jake Gordon and contributors
+Copyright (c) 2012 Jake Gordon and contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
-Javascript Finite State Machine (v2.0.1)
+Javascript Finite State Machine (v2.1.0)
This standalone javascript micro-framework provides a finite state machine for your pleasure.
@@ -80,8 +80,11 @@ This example will create an object with 2 event methods:
The `rest` event will always transition to the `hungry` state, while the `eat` event
will transition to a state that is dependent on the current state.
+>> NOTE: The `rest` event could use a wildcard '*' for the 'from' state if it should be
+allowed from any current state.
>> NOTE: The `rest` event in the above example can also be specified as multiple events with
-the same name if you prefer the verbose approach:
+the same name if you prefer the verbose approach.
@@ -1,6 +1,9 @@
-Version 2.0.1 (unreleased)
+Version 2.1.0 (January 7th 2012)
+ * Added explicit return values for event methods (issue #12)
+ * Added support for wildcard events that can be fired 'from' any state (issue #11)
+ * Added support for no-op events that transition 'to' the same state (issue #5)
* extended custom error callback to handle any exceptions caused by caller provided callbacks
* added custom error callback to override exception when an illegal state transition is attempted (thanks to cboone)
* fixed typos (thanks to cboone)

0 comments on commit cafa48b

Please sign in to comment.