Changeset 530 for branches/PublicaMundi_David-devel
- Timestamp:
- Nov 5, 2014, 4:50:21 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PublicaMundi_David-devel/zoo-project/zoo-services/hello-js/cgi-env/hello.js
r423 r530 24 24 25 25 function hellojs(conf,inputs,outputs){ 26 outputs["result"]["value"]="Hello "+inputs["S"]["value"]+" from the JS World !";26 var my_outputs = {"result": { "value" : "Hello "+inputs["S"]["value"]+" from the JS World !" }}; 27 27 //SERVICE_SUCEEDED 28 return Array(3, outputs);28 return Array(3,my_outputs); 29 29 } 30 30 31 31 function hellojs1(conf,inputs,outputs){ 32 outputs["result"]["value"]="Hello "+inputs["S"]["value"]+" from the JS World !";32 var my_outputs = {"result": { "value" : "Hello "+inputs["S"]["value"]+" from the JS World !" }}; 33 33 //SERVICE_SUCEEDED 34 return {"result":3,"outputs": outputs};34 return {"result":3,"outputs": my_outputs}; 35 35 } 36 36
Note: See TracChangeset
for help on using the changeset viewer.