From e6015a55ac84d1f055601f68ec06fd604ff3efe9 Mon Sep 17 00:00:00 2001 From: sushantk Date: Mon, 26 Nov 2012 18:30:03 -0800 Subject: [PATCH] - Updated demo --- ants/store/ants/demo/echo.json | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/ants/store/ants/demo/echo.json b/ants/store/ants/demo/echo.json index 540c661..ba628b9 100644 --- a/ants/store/ants/demo/echo.json +++ b/ants/store/ants/demo/echo.json @@ -1,11 +1,14 @@ { - "fetcher": { + // A very simple module definition with a single argument "string" + "module": { "@class": "ants.FetcherEcho", - "string": "Hello World" + "string": "" } - "module": { - "fetcher": { + // Using the above module in some other module + "demo": { + "@class": "example" + "child": { "id": "echo", "params": { "string": "Hello World"