X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=tests%2Fhello.js;h=d83b3eafd3c2f29e70b4cf4ab172d115d01ca028;hb=df1bc552d9ddc36cd32e7408ea1bd4082f08a5fd;hp=aa5414756171f8279d707ac879c71d54ac6f701b;hpb=106e0007eaf13523cb54c864679d0dfc91ab8d35;p=app.Builder.js diff --git a/tests/hello.js b/tests/hello.js index aa5414756..d83b3eafd 100644 --- a/tests/hello.js +++ b/tests/hello.js @@ -1,6 +1,7 @@ function hello(w) { - var a = JSON.decode(w); - return JSON.stringify(w)+'xx'; + var a = JSON.parse(w); + a.test=1; + return JSON.stringify(a)+'xxa'; }