couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Shorin <kxe...@gmail.com>
Subject Re: add_lib?
Date Sun, 22 Jul 2012 16:10:29 GMT
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
View raw message