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/modules/openid | |
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/modules/openid')
-rw-r--r-- | sca-cpp/trunk/modules/openid/htdocs/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sca-cpp/trunk/modules/openid/htdocs/index.html b/sca-cpp/trunk/modules/openid/htdocs/index.html index 38dc9005c2..98bbac0c57 100644 --- a/sca-cpp/trunk/modules/openid/htdocs/index.html +++ b/sca-cpp/trunk/modules/openid/htdocs/index.html @@ -21,8 +21,8 @@ <head> <script type="text/javascript" src="/component.js"></script> <script type="text/javascript"> -var protected = component("Protected"); -var userInfo = defun(reference(protected, "userInfo"), "getuser", "getemail", "getrealm"); +var protected = sca.component("Protected"); +var userInfo = sca.defun(sca.reference(protected, "userInfo"), "getuser", "getemail", "getrealm"); var user = userInfo.getuser(); var email = userInfo.getemail(); var realm = userInfo.getrealm(); |