Skip to content

Commit

Permalink
Statechart documentation improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
wagenet committed May 31, 2011
1 parent 24f320a commit c6f7d28
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions frameworks/statechart/system/state.js
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion frameworks/statechart/system/statechart.js
Expand Up @@ -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
Expand Down

0 comments on commit c6f7d28

Please sign in to comment.