Nick:

If you just want manage your js with controller,
do the following in your controller.py:

{{{
# import modules
import pkg_resources
from turbogears.widgets import JSLink

# find static directory
js_dir = pkg_resources.resource_filename("plotkit",
                                         "static/javascript")
register_static_directory("plotkit", js_dir)

# find specific js
excanvas_js = JSLink("plotkit", "excanvas.js")
plotkit_packed_js = JSLink("plotkit", "PlotKit_Packed.js")
.....
}}}

--
Fred


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to