Skip to content

Commit fdeeff3

Browse files
committed
updated README and RELEASE_NOTES for 2.3.4
1 parent 0a8576e commit fdeeff3

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Javascript Finite State Machine (v2.3.3)
1+
Javascript Finite State Machine (v2.3.4)
22
========================================
33

44
This standalone javascript micro-framework provides a finite state machine for your pleasure.
@@ -55,10 +55,11 @@ In its simplest form, create a standalone state machine using:
5555

5656
along with the following members:
5757

58-
* fsm.current - contains the current state
59-
* fsm.is(s) - return true if state `s` is the current state
60-
* fsm.can(e) - return true if event `e` can be fired in the current state
61-
* fsm.cannot(e) - return true if event `e` cannot be fired in the current state
58+
* fsm.current - contains the current state
59+
* fsm.is(s) - return true if state `s` is the current state
60+
* fsm.can(e) - return true if event `e` can be fired in the current state
61+
* fsm.cannot(e) - return true if event `e` cannot be fired in the current state
62+
* fsm.transitions() - return list of events that are allowed from the current state
6263

6364
Multiple 'from' and 'to' states for a single event
6465
==================================================

RELEASE_NOTES.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
Version 2.3.4 (January 17 2014)
2+
-------------------------------
3+
4+
* helper method to list which events are allowed from the current state (issue #71 - thanks to @mgoldsborough and @chopj)
5+
16
Version 2.3.3 (October 17 2014)
27
-------------------------------
38

0 commit comments

Comments
 (0)