Skip to content

Commit cafa48b

Browse files
committed
updated RELEASE_NOTES
1 parent 9e5000c commit cafa48b

3 files changed

Lines changed: 11 additions & 5 deletions

File tree

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2011 Jake Gordon and contributors
1+
Copyright (c) 2012 Jake Gordon and contributors
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy
44
of this software and associated documentation files (the "Software"), to deal

README.md

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

44
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:
8080
The `rest` event will always transition to the `hungry` state, while the `eat` event
8181
will transition to a state that is dependent on the current state.
8282

83+
>> NOTE: The `rest` event could use a wildcard '*' for the 'from' state if it should be
84+
allowed from any current state.
85+
8386
>> NOTE: The `rest` event in the above example can also be specified as multiple events with
84-
the same name if you prefer the verbose approach:
87+
the same name if you prefer the verbose approach.
8588

8689
Callbacks
8790
=========

RELEASE_NOTES.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
Version 2.0.1 (unreleased)
2-
--------------------------
1+
Version 2.1.0 (January 7th 2012)
2+
--------------------------------
33

4+
* Added explicit return values for event methods (issue #12)
5+
* Added support for wildcard events that can be fired 'from' any state (issue #11)
6+
* Added support for no-op events that transition 'to' the same state (issue #5)
47
* extended custom error callback to handle any exceptions caused by caller provided callbacks
58
* added custom error callback to override exception when an illegal state transition is attempted (thanks to cboone)
69
* fixed typos (thanks to cboone)

0 commit comments

Comments
 (0)