From a2a2cb76e9582af32b6803be7fa99af074dc04ae Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Mon, 25 Oct 2010 03:18:16 +0000 Subject: Support python method invocation style on references, ref.func(...) in addition to ref('func', ...). Minor cleanup of the various samples, renamed gettotal to total and getcatalog to items, for consistency with the python sample. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1026939 13f79535-47bb-0310-9956-ffa450edef68 --- sca-cpp/trunk/samples/store-python/htdocs/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sca-cpp/trunk/samples/store-python/htdocs/index.html') diff --git a/sca-cpp/trunk/samples/store-python/htdocs/index.html b/sca-cpp/trunk/samples/store-python/htdocs/index.html index f7cf87f722..7de17d92e3 100644 --- a/sca-cpp/trunk/samples/store-python/htdocs/index.html +++ b/sca-cpp/trunk/samples/store-python/htdocs/index.html @@ -64,11 +64,11 @@ function shoppingCart_getResponse(feed) { } document.getElementById("shoppingCart").innerHTML = list; - shoppingTotal.apply("gettotal", shoppingTotal_gettotalResponse); + shoppingTotal.apply("total", shoppingTotal_totalResponse); } } -function shoppingTotal_gettotalResponse(total, exception) { +function shoppingTotal_totalResponse(total, exception) { if (exception) { alert(exception.message); return; -- cgit v1.2.3