couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samuel Williams <space.ship.travel...@gmail.com>
Subject Re: add_lib?
Date Sun, 22 Jul 2012 18:45:47 GMT
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 <kxepal@gmail.com> wrote:

> On Sun, Jul 22, 2012 at 7:02 PM, Samuel Williams
> <space.ship.traveller@gmail.com> 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
> <space.ship.traveller@gmail.com> wrote:
> > Hi,
> >
> > Is there any documentation on how to use add_lib command?
> >
> > Kind regards,
> > Samuel
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message