Thanks Alex, yeah I ended up reading that code =)

Futon shows views/lib under the views drop down, but obviously it isn't a
view. Is this a bug?

On 23 July 2012 04:10, Alexander Shorin <[email protected]> wrote:

> On Sun, Jul 22, 2012 at 7:02 PM, Samuel Williams
> <[email protected]> wrote:
> > Hi,
> >
> > Is there any documentation on how to use add_lib command?
>
> Suddenly no, but source code is your best friend ever:
> https://github.com/apache/couchdb/blob/master/share/server/state.js
> Note add_lib function and changed behavior of add_fun and reset ones.
>
> User guide to CommonJS modules could be found there:
> http://caolanmcmahon.com/posts/commonjs_modules_in_couchdb/
>
> --
> ,,,^..^,,,
>
>
> On Sun, Jul 22, 2012 at 7:02 PM, Samuel Williams
> <[email protected]> wrote:
> > Hi,
> >
> > Is there any documentation on how to use add_lib command?
> >
> > Kind regards,
> > Samuel
>

Reply via email to