incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benoit Chesneau" <bchesn...@gmail.com>
Subject Re: Making Javascript methods available in views.
Date Sun, 21 Dec 2008 09:22:37 GMT
On Sun, Dec 21, 2008 at 10:17 AM, Christian Haselbach <chriss@mr-co.de> wrote:
> Hi,
>
> Is it possible to make custom Javascript methods available in views and
> actions? For example, I'd like to write a file which defined the methods
> foo() and bar() so I can use them in my map method of a view. So I do
> not have to put this functionality into every view that uses it.
>
> Regards,
> Christian
>

you could play with main.js for that I guess.

-- 
- benoƮt

Mime
View raw message