summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-04-03 10:30:09 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-04-03 10:30:09 (GMT)
commit8124991ded20a7b2f36a056dc701d138573561fc (patch)
tree541bd2fd0894ac665eba8f708c99bfe741edca3c /apps
parentf627a8a8b139a42568f67dc18679d92806e0ff4e (diff)
downloaduscxml-8124991ded20a7b2f36a056dc701d138573561fc.zip
uscxml-8124991ded20a7b2f36a056dc701d138573561fc.tar.gz
uscxml-8124991ded20a7b2f36a056dc701d138573561fc.tar.bz2
Setup ctest for the swedish owl
Diffstat (limited to 'apps')
-rw-r--r--apps/samples/server-push/server-push.scxml8
1 files changed, 3 insertions, 5 deletions
diff --git a/apps/samples/server-push/server-push.scxml b/apps/samples/server-push/server-push.scxml
index 2574149..4193560 100644
--- a/apps/samples/server-push/server-push.scxml
+++ b/apps/samples/server-push/server-push.scxml
@@ -25,16 +25,14 @@
</transition>
<transition event="http.post" target="idle">
- <script>dump(_event);</script>
<if cond="_event.name.endsWith('postponed')">
<!-- This is an event we postponed before the heartbeat, respond -->
<response requestexpr="_event.origin">
<content>This is awesome!</content>
</response>
- <else>
- <!-- Postpone until the heartbeat is emitted and send all events again -->
- <postpone until="_event.name == 'heartbeat.1s'" chaining="true" />
- </else>
+ <else />
+ <!-- Postpone until the heartbeat is emitted and send all events again -->
+ <postpone until="_event.name == 'heartbeat.1s'" chaining="true" />
</if>
</transition>