diff options
Diffstat (limited to 'apps/samples')
-rw-r--r-- | apps/samples/server-push/server-push.scxml | 4 | ||||
-rw-r--r-- | apps/samples/vrml/vrml-server.caching.scxml | 4 | ||||
-rw-r--r-- | apps/samples/vrml/vrml-server.pre-osgjs.scxml | 4 | ||||
-rw-r--r-- | apps/samples/vrml/vrml-server.scxml | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/apps/samples/server-push/server-push.scxml b/apps/samples/server-push/server-push.scxml index a9d231e..c0f0a21 100644 --- a/apps/samples/server-push/server-push.scxml +++ b/apps/samples/server-push/server-push.scxml @@ -6,7 +6,7 @@ <scxml name="push" datamodel="ecmascript"> <script src="http://uscxml.tk.informatik.tu-darmstadt.de/scripts/dump.js" /> - <script src="http://uscxml.tk.informatik.tu-darmstadt.de/scripts/string.endsWith.js" /> + <script src="http://uscxml.tk.informatik.tu-darmstadt.de/scripts/string. .js" /> <state id="main"> <!-- We will only answer http requests when the heartbeat is emitted --> @@ -25,7 +25,7 @@ </transition> <transition event="http.post" target="idle"> - <if cond="_event.name.endsWith('postponed')"> + <if cond="_event.name. ('postponed')"> <!-- This is an event we postponed before the heartbeat, respond --> <respond to="_event.origin"> <content>This is awesome!</content> diff --git a/apps/samples/vrml/vrml-server.caching.scxml b/apps/samples/vrml/vrml-server.caching.scxml index 70a7c3a..2d935cd 100644 --- a/apps/samples/vrml/vrml-server.caching.scxml +++ b/apps/samples/vrml/vrml-server.caching.scxml @@ -1,6 +1,6 @@ <scxml datamodel="ecmascript" name="vrml"> <script src="http://uscxml.tk.informatik.tu-darmstadt.de/scripts/dump.js" /> - <script src="http://uscxml.tk.informatik.tu-darmstadt.de/scripts/string.endsWith.js" /> + <script src="http://uscxml.tk.informatik.tu-darmstadt.de/scripts/string. .js" /> <script src="http://uscxml.tk.informatik.tu-darmstadt.de/scripts/array.last.js" /> <script> var wrls = {}; // information of the wrl, vrml files @@ -294,7 +294,7 @@ <content fileexpr="processed[_event['fileStruct'].key][_event['fileStruct'].format].path" /> </respond> <else /> - <if cond="_event.name.endsWith('postponed')"> + <if cond="_event.name. ('postponed')"> <!-- A postponed event we couldn't answer --> diff --git a/apps/samples/vrml/vrml-server.pre-osgjs.scxml b/apps/samples/vrml/vrml-server.pre-osgjs.scxml index e08afd4..a51c5f3 100644 --- a/apps/samples/vrml/vrml-server.pre-osgjs.scxml +++ b/apps/samples/vrml/vrml-server.pre-osgjs.scxml @@ -1,6 +1,6 @@ <scxml datamodel="ecmascript" name="vrml"> <script src="http://uscxml.tk.informatik.tu-darmstadt.de/scripts/dump.js" /> - <script src="http://uscxml.tk.informatik.tu-darmstadt.de/scripts/string.endsWith.js" /> + <script src="http://uscxml.tk.informatik.tu-darmstadt.de/scripts/string. .js" /> <script src="http://uscxml.tk.informatik.tu-darmstadt.de/scripts/array.last.js" /> <script> var wrls = {}; // information of the wrl, vrml files @@ -201,7 +201,7 @@ </script> <if cond="'context' in _event.data"> <!-- this was generated in reply to a request --> - <if cond="_event.name.endsWith('success')"> + <if cond="_event.name. ('success')"> <respond status="200" to="_event.data.context"> <header name="Connection" value="close" /> <header name="Content-Type" value="application/json" /> diff --git a/apps/samples/vrml/vrml-server.scxml b/apps/samples/vrml/vrml-server.scxml index 5c65afb..529a469 100644 --- a/apps/samples/vrml/vrml-server.scxml +++ b/apps/samples/vrml/vrml-server.scxml @@ -1,6 +1,6 @@ <scxml datamodel="ecmascript" name="vrml"> <script src="http://uscxml.tk.informatik.tu-darmstadt.de/scripts/dump.js" /> - <script src="http://uscxml.tk.informatik.tu-darmstadt.de/scripts/string.endsWith.js" /> + <script src="http://uscxml.tk.informatik.tu-darmstadt.de/scripts/string. .js" /> <script src="http://uscxml.tk.informatik.tu-darmstadt.de/scripts/array.last.js" /> <script> var wrls = {}; // information of the wrl, vrml files @@ -206,7 +206,7 @@ </script> <if cond="'context' in _event.data"> <!-- this was generated in reply to a request --> - <if cond="_event.name.endsWith('success')"> + <if cond="_event.name. ('success')"> <respond status="200" to="_event.data.context"> <header name="Connection" value="close" /> <header name="Access-Control-Allow-Origin" value="*" /> |