On Thu, Mar 25, 2010 at 3:10 PM, Paul Davis <[email protected]> wrote:
> The fact that you used to be able to attach to the 'this' object was
> definitely just a coincidence. I'm fairly surprised it even worked
> consistently for you.
>
> That said, it looks like you're wanting to check out the
> require("path.to.stuff") method that's now available for show and
> list. This will let you define arbitrary JS in your _design doc and
> import it in your show/list functions.
>
> HTH,
> Paul Davis
>

this is also used to acccess to the ddoc now if I remmeber.

- benoit

Reply via email to