Skip to content

Commit 41db8e8

Browse files
committed
Tweaks after pull jakesgordon#34 - release notes, minified version, whitespace alignment
1 parent cf58637 commit 41db8e8

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

RELEASE_NOTES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
Version 2.2.0 (unreleased)
22
--------------------------
33

4+
* Fixed 'undefined' event return codes (issue #34) - pull from gentooboontoo (thanks!)
45
* Allow async event transition to be cancelled (issue #22)
56

67
Version 2.1.0 (January 7th 2012)

state-machine.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/test_basics.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -449,16 +449,16 @@ test("event return values (github issue #12) ", function() {
449449
equals(fsm.current, 'stopped', "initial state should be stopped");
450450

451451
equals(fsm.prepare(), StateMachine.Result.SUCCEEDED, "expected event to have SUCCEEDED");
452-
equals(fsm.current, 'ready', "prepare event should transition from stopped to ready");
452+
equals(fsm.current, 'ready', "prepare event should transition from stopped to ready");
453453

454454
equals(fsm.fake(), StateMachine.Result.CANCELLED, "expected event to have been CANCELLED");
455-
equals(fsm.current, 'ready', "cancelled event should not cause a transition");
455+
equals(fsm.current, 'ready', "cancelled event should not cause a transition");
456456

457457
equals(fsm.start(), StateMachine.Result.ASYNC, "expected event to cause an ASYNC transition");
458-
equals(fsm.current, 'ready', "async transition hasn't happened yet");
458+
equals(fsm.current, 'ready', "async transition hasn't happened yet");
459459

460460
equals(fsm.transition(), StateMachine.Result.SUCCEEDED, "expected async transition to have SUCCEEDED");
461-
equals(fsm.current, 'running', "async transition should now be complete");
461+
equals(fsm.current, 'running', "async transition should now be complete");
462462

463463
});
464464

0 commit comments

Comments
 (0)