|
Last change
on this file since 394 was
343,
checked in by lucadelu, 15 years ago
|
|
change documentation and example of Javascript code because they did not work
|
|
File size:
357 bytes
|
| Rev | Line | |
|---|
| [1] | 1 | |
|---|
| 2 | function hellojs(conf,inputs,outputs){ |
|---|
| [343] | 3 | outputs["result"]["value"]="Hello "+inputs["S"]["value"]+" from the JS World !"; |
|---|
| [1] | 4 | //SERVICE_SUCEEDED |
|---|
| 5 | return Array(3,outputs); |
|---|
| 6 | } |
|---|
| 7 | |
|---|
| 8 | function hellojs1(conf,inputs,outputs){ |
|---|
| [343] | 9 | outputs["result"]["value"]="Hello "+inputs["S"]["value"]+" from the JS World !"; |
|---|
| [1] | 10 | //SERVICE_SUCEEDED |
|---|
| 11 | return {"result":3,"outputs": outputs}; |
|---|
| 12 | } |
|---|
| 13 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.