diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-12-12 18:37:57 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-12-12 18:37:57 +0000 |
commit | aaffeb998351334a423f833b46066bc8f3a82357 (patch) | |
tree | aab28e35de2bfc9c1ef906f3dc9519b281ae1d63 /sca-cpp/trunk/samples/store-scheme/htdocs/index.html | |
parent | e1a9fc541e79a545a696fd4a6373d1fa9ade1987 (diff) |
Refactor some of the Javascript scripts to use a different namespace per script.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1044875 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/samples/store-scheme/htdocs/index.html')
-rw-r--r-- | sca-cpp/trunk/samples/store-scheme/htdocs/index.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sca-cpp/trunk/samples/store-scheme/htdocs/index.html b/sca-cpp/trunk/samples/store-scheme/htdocs/index.html index 1967292be9..3945e45bb7 100644 --- a/sca-cpp/trunk/samples/store-scheme/htdocs/index.html +++ b/sca-cpp/trunk/samples/store-scheme/htdocs/index.html @@ -23,10 +23,10 @@ <script type="text/javascript" src="/component.js"></script>
<script type="text/javascript">
-var store = component("Store");
-var catalog = defun(reference(store, "catalog"), "items");
-var shoppingCart = reference(store, "shoppingCart");
-var shoppingTotal = defun(reference(store, "shoppingTotal"), "total");
+var store = sca.component("Store");
+var catalog = sca.defun(sca.reference(store, "catalog"), "items");
+var shoppingCart = sca.reference(store, "shoppingCart");
+var shoppingTotal = sca.defun(sca.reference(store, "shoppingTotal"), "total");
var catalogItems;
|