diff options
Diffstat (limited to 'examples/console')
| -rw-r--r-- | examples/console/JSONComponent/jsoncomponent.py | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/examples/console/JSONComponent/jsoncomponent.py b/examples/console/JSONComponent/jsoncomponent.py index 62e81a0..fb5a175 100644 --- a/examples/console/JSONComponent/jsoncomponent.py +++ b/examples/console/JSONComponent/jsoncomponent.py @@ -1,3 +1,10 @@ +""" +Requires the jsolait Javascript library: + http://jsolait.net/ + +Typically unpack this library into web/jsolait +""" + from Component import Component, ServletComponent from json import jsonToObj, objToJson from paste import httpexceptions @@ -85,12 +92,3 @@ class JSONServletComponent(ServletComponent): class JSONComponent(Component): _componentClass = JSONServletComponent - -""" - <script type="text/javascript" src="%(jsolaitURL)s/lib/jsolait.js"></script> - <script type="text/javascript"> - //jsolait = importModule("jsolait"); - //jsolait.baseURL = %jsolaitURLr; - //jsolait.libURL = %(lib)r; - </script> -""" |
