Permalink
Browse files

Statechart documentation improvements

  • Loading branch information...
1 parent 24f320a commit c6f7d28daab6df561916c0ba0700aa937b845a56 @wagenet wagenet committed May 31, 2011
Showing with 6 additions and 3 deletions.
  1. +5 −2 frameworks/statechart/system/state.js
  2. +1 −1 frameworks/statechart/system/statechart.js
@@ -18,11 +18,14 @@
You do not create an instance of a state itself. The statechart manager will go through its
state heirarchy and create the states itself.
+ For more information on using statecharts, see SC.StatechartManager.
+
@author Michael Cohen
@extends SC.Object
*/
-SC.State = SC.Object.extend({
-
+SC.State = SC.Object.extend(
+ /** @lends SC.State.prototype */ {
+
/**
The name of the state
@@ -62,7 +62,7 @@ sc_require('system/state');
If you liked to specify a class that should be used as the root state but using the above method to defined
states, you can set the rootStateExample property with a class that extends from SC.State. If the
- rootStateExaple property is not explicitly assigned the then default class used will be SC.State.
+ rootStateExample property is not explicitly assigned the then default class used will be SC.State.
To provide your statechart with orthogonality, you use concurrent states. If you use concurrent states,
then your statechart will have multiple current states. That is because each concurrent state represents an

0 comments on commit c6f7d28

Please sign in to comment.