summaryrefslogtreecommitdiffstats
path: root/test/samples/uscxml/test-umundo-s11n.scxml
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-01-21 23:47:54 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-01-21 23:47:54 (GMT)
commit3be96d1aa3024c1acc129e587f5d3165c9434e48 (patch)
treefae65a932b899ed9424a5a76b9b98562d979fe40 /test/samples/uscxml/test-umundo-s11n.scxml
parent3bda299c6d2efce71d76b44dea8e732a073304f3 (diff)
downloaduscxml-3be96d1aa3024c1acc129e587f5d3165c9434e48.zip
uscxml-3be96d1aa3024c1acc129e587f5d3165c9434e48.tar.gz
uscxml-3be96d1aa3024c1acc129e587f5d3165c9434e48.tar.bz2
See detailed commitlog
- Started DirectoryMonitor invoker - Refactored Invoker / IOProcessor interface - Started with JavaScriptCore bindings - Embedding applications can now use setParentQueue to receive events sent to #_parent
Diffstat (limited to 'test/samples/uscxml/test-umundo-s11n.scxml')
-rw-r--r--test/samples/uscxml/test-umundo-s11n.scxml22
1 files changed, 11 insertions, 11 deletions
diff --git a/test/samples/uscxml/test-umundo-s11n.scxml b/test/samples/uscxml/test-umundo-s11n.scxml
index 001d72e..f4a9a02 100644
--- a/test/samples/uscxml/test-umundo-s11n.scxml
+++ b/test/samples/uscxml/test-umundo-s11n.scxml
@@ -1,25 +1,25 @@
<scxml datamodel="ecmascript">
<script>
<![CDATA[
- function dump(arr,level) {
- if(!level) level = 0;
+ function dump(object, level) {
+ if (!level) level = 0;
- var level_padding = "";
- for(var j=0;j < level+1;j++) level_padding += " ";
+ var padding = "";
+ for (var j=0;j < level+1;j++) padding += " ";
- if(typeof(arr) == 'object') {
- for(var item in arr) {
- var value = arr[item];
+ if (typeof(obj) == 'object') {
+ for (var item in obj) {
+ var value = obj[item];
if(typeof(value) == 'object') {
- print(level_padding + "'" + item + "' ...\n");
- print(dump(value,level+1));
+ print (padding + "'" + item + "' ...\n");
+ print (dump (value, level+1));
} else {
- print(level_padding + "'" + item + "' => \"" + value + "\"\n");
+ print (padding + "'" + item + "' => \"" + value + "\"\n");
}
}
} else {
- print("===> "+arr+" <===("+typeof(arr)+")");
+ print("===> " + object + " <===(" + typeof(object) + ")");
}
}
]]>