can we have a key in the config to enable mochikit on all pages?
On 12/23/05, Kevin Dangoor <[EMAIL PROTECTED]> wrote:
>
> If you want to use MochiKit on a page, you can now do this:
>
> @turbogears.expose(html="foo.bar")
> def index(self):
> return dict(mochi=turbogears.mochikit)
>
> It doesn't matter what the key in the dictionary is. The advantage to
> this is that MochiKit only gets included 1 time, even if a widget
> needs to use MochiKit.
>
> Kevin
>
> --
> Kevin Dangoor
> Author of the Zesty News RSS newsreader
>
> email: [EMAIL PROTECTED]
> company: http://www.BlazingThings.com
> blog: http://www.BlueSkyOnMars.com
>
--
cheers
elvelind grandin