On 11/9/06, iain duncan <[EMAIL PROTECTED]> wrote: > > In this doc: > http://docs.turbogears.org/1.0/GettingStarted/MochiKit > > It says that: > > "MochiKit fills in a lot of the gaps in a way that is both natural for > Python and JavaScript. It is broken down into several packages, but you > can have immediate access to all of its functionality by adding one line > to your page's <HEAD>: > > <script src="${tg.tg_js}/MochiKit.js"/> > > Your templates automatically get the tg.tg_js variable, and MochiKit is > automatically made available as a static file from the server. When you > load MochiKit this way, you're getting everything from the MochiKit > modules." > > Putting that into the head tag of my kid template raises an exception. > > Should it be changed to instead mention adding the mockit widgets in my > app.cfg file? Widget's should be a totally optional component in TG, so I believe both ways should be presented could you post this as a comment there so someone will integrate it into the main template.
> If I add the widget line in app.cfg ( found from the 20 > minute wiki text doc ) is the above unecessary? > > Thanks > Iain > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---

