Hi, Jacob,
I have a state chart which contains a target-less transition. Something like:
<scxml
xmlns="
http://www.w3.org/2005/07/scxml"
version="1.0"
profile="ecmascript"
initial="S1">
<state id="S1">
<onentry>
<log expr="'entering S1'"/>
</onentry>
<transition event="E1" target="fin"/>
<transition event="E2">
<log expr="'Do some work, but do not transition'"/>
</transition>
</state>
<final id="fin">
</scxml>
When I execute this in scion's ('shell' build (aka non-browser, non-node)), I get the following error:
"targetIds has no properties"
Also, when I attempt to diagnose by passing in the following options when constructing the interpreter:
var opts= {log: function(msg) { print(msg); },
printTrace: truen
}
var interp = new scxml.SimpleInterpreter(model, opts);
I get the following error:
"this._log is not a function"
Thanks.
Matt