diff options
Diffstat (limited to 'sca-cpp/trunk/modules/openid')
-rw-r--r-- | sca-cpp/trunk/modules/openid/htdocs/index.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sca-cpp/trunk/modules/openid/htdocs/index.html b/sca-cpp/trunk/modules/openid/htdocs/index.html index e6295a93b5..c2dfc791e6 100644 --- a/sca-cpp/trunk/modules/openid/htdocs/index.html +++ b/sca-cpp/trunk/modules/openid/htdocs/index.html @@ -19,10 +19,10 @@ <html> <head> -<script type="text/javascript" src="/js/tuscany-ref.js"></script> +<script type="text/javascript" src="/js/ref.js"></script> <script type="text/javascript"> -var component = new tuscany.sca.Component("Protected"); -var userInfo = new tuscany.sca.Reference("userInfo"); +var protected = component("Protected"); +var userInfo = reference(protected, "userInfo"); var user = userInfo.apply("getuser"); var email = userInfo.apply("getemail"); </script> |