diff options
| author | ianb <devnull@localhost> | 2005-05-07 19:45:24 +0000 |
|---|---|---|
| committer | ianb <devnull@localhost> | 2005-05-07 19:45:24 +0000 |
| commit | b94d4ce797a382ff96d383b7c8dfcd7593992f68 (patch) | |
| tree | ced2d33db5402674cff88b8b6d415c3a648b7a10 | |
| parent | 86947dab0e6bb2d22a57d60ef98f0f0411238f48 (diff) | |
| download | paste-b94d4ce797a382ff96d383b7c8dfcd7593992f68.tar.gz | |
Fixed up imports
| -rw-r--r-- | examples/console/JSONComponent/jsoncomponent.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/console/JSONComponent/jsoncomponent.py b/examples/console/JSONComponent/jsoncomponent.py index d64ad91..62e81a0 100644 --- a/examples/console/JSONComponent/jsoncomponent.py +++ b/examples/console/JSONComponent/jsoncomponent.py @@ -66,9 +66,8 @@ class JSONServletComponent(ServletComponent): text = (r''' <script type="text/javascript" src="%(jsolaitURL)s/init.js"></script> <script type="text/javascript"> - //var jsolait = importModule("jsolait"); - //jsolait.baseURL = "%(lib)s"; - //jsolait.libURL = "%(jsolaitURL)s"; + jsolait.baseURL = "%(lib)s"; + jsolait.libURL = "%(jsolaitURL)s"; </script> <script type="text/javascript" src="%(jsolaitURL)s/lib/urllib.js"></script> <script type="text/javascript" src="%(jsolaitURL)s/lib/jsonrpc.js"></script> |
