Changeset 343 for trunk/zoo-project/zoo-services
- Timestamp:
- Oct 24, 2011, 3:42:33 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-services/hello-js/cgi-env/hello.js
r83 r343 1 1 2 2 function hellojs(conf,inputs,outputs){ 3 outputs[ 0]["result"]["value"]="Hello "+inputs[0]["S"]["value"]+" from the JS World !";3 outputs["result"]["value"]="Hello "+inputs["S"]["value"]+" from the JS World !"; 4 4 //SERVICE_SUCEEDED 5 5 return Array(3,outputs); … … 7 7 8 8 function hellojs1(conf,inputs,outputs){ 9 outputs[ 0]["result"]["value"]="Hello "+inputs[0]["S"]["value"]+" from the JS World !";9 outputs["result"]["value"]="Hello "+inputs["S"]["value"]+" from the JS World !"; 10 10 //SERVICE_SUCEEDED 11 11 return {"result":3,"outputs": outputs};
Note: See TracChangeset
for help on using the changeset viewer.