diff options
Diffstat (limited to 'tests/auto/qscxmlc/data/commentInScript.scxml')
-rw-r--r-- | tests/auto/qscxmlc/data/commentInScript.scxml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/auto/qscxmlc/data/commentInScript.scxml b/tests/auto/qscxmlc/data/commentInScript.scxml new file mode 100644 index 0000000..2af8286 --- /dev/null +++ b/tests/auto/qscxmlc/data/commentInScript.scxml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- enable-qt-mode: yes --> +<scxml + xmlns="http://www.w3.org/2005/07/scxml" + version="1.0" + name="CommentInScript" + datamodel="ecmascript" +> + <datamodel> + <data id="media"/> + </datamodel> + + <script><!-- + function isValidMedia() { + var m = _event.data.media + return (m + "").length > 0 + } + <initial> +</scxml> |