couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benoit Chesneau <bchesn...@gmail.com>
Subject Re: JavaScript specification changes at 0.11?
Date Thu, 25 Mar 2010 14:18:32 GMT
On Thu, Mar 25, 2010 at 3:10 PM, Paul Davis <paul.joseph.davis@gmail.com> 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

Mime
View raw message