Changeset 82
- Timestamp:
- Jan 20, 2011, 2:43:48 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-services/hello-js/hello.js
r1 r82 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[0]["result"]["value"]="Hello "+inputs[0]["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[0]["result"]["value"]="Hello "+inputs[0]["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.