etgryphon/stativus — Issue #35: BUG: Error when checking if globalState is entered
Author: johnnywengluu
Created: 2011-11-25 18:33:44+00:00
State: open

I have a global state that is entered but when I use statechart.inState("Default") I get:

[TypeError: Cannot call method 'forEach' of undefined]

It works for the substates.