summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/console/JSONComponent/jsoncomponent.py5
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>