diff options
author | Stefan Radomski <github@mintwerk.de> | 2017-05-19 09:42:36 (GMT) |
---|---|---|
committer | Stefan Radomski <github@mintwerk.de> | 2017-05-19 09:42:36 (GMT) |
commit | 487761485fea0ddd7e08263e01e40156798db57a (patch) | |
tree | 8f6c59422aa37572ac248eeaab98810375c2fe87 /test/issues | |
parent | 747781cbebe22efb4f2efb8f3269320962791914 (diff) | |
download | uscxml-487761485fea0ddd7e08263e01e40156798db57a.zip uscxml-487761485fea0ddd7e08263e01e40156798db57a.tar.gz uscxml-487761485fea0ddd7e08263e01e40156798db57a.tar.bz2 |
Fixed issue 134 with remote scripts
Diffstat (limited to 'test/issues')
-rw-r--r-- | test/issues/test-issue134.js | 1 | ||||
-rw-r--r-- | test/issues/test-issue134.scxml | 14 |
2 files changed, 15 insertions, 0 deletions
diff --git a/test/issues/test-issue134.js b/test/issues/test-issue134.js new file mode 100644 index 0000000..6b3e64f --- /dev/null +++ b/test/issues/test-issue134.js @@ -0,0 +1 @@ +Var1 = 1;
\ No newline at end of file diff --git a/test/issues/test-issue134.scxml b/test/issues/test-issue134.scxml new file mode 100644 index 0000000..973065d --- /dev/null +++ b/test/issues/test-issue134.scxml @@ -0,0 +1,14 @@ +<scxml datamodel="ecmascript"> + <datamodel> + <data id="Var1" expr="0" /> + </datamodel> + <state id="s0"> + <onentry> + <script src="test-issue134.js"/> + </onentry> + <transition cond="Var1 == 1" target="pass" /> + <transition cond="Var1 != 1" target="fail" /> + </state> + <final id="pass" /> + <final id="fail" /> +</scxml>
\ No newline at end of file |