Changeset 530 for branches


Ignore:
Timestamp:
Nov 5, 2014, 4:50:21 PM (10 years ago)
Author:
david
Message:
  • Fix syntax error
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/PublicaMundi_David-devel/zoo-project/zoo-services/hello-js/cgi-env/hello.js

    r423 r530  
    2424
    2525function 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 !" }};
    2727        //SERVICE_SUCEEDED
    28         return Array(3,outputs);
     28        return Array(3,my_outputs);
    2929}
    3030
    3131function 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 !" }};
    3333        //SERVICE_SUCEEDED
    34         return {"result":3,"outputs": outputs};
     34        return {"result":3,"outputs": my_outputs};
    3535}
    3636
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png