couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "mikeal (JIRA)" <>
Subject [jira] Commented: (COUCHDB-658) Add CommonJS style modules to the view server
Date Thu, 18 Feb 2010 21:53:28 GMT


mikeal commented on COUCHDB-658:

Traversing the tree isn't the hard part.

If we are saying that filesystem trees map to object tress then we'll also need to map relative



will always get



MUST be relative to the module which is doing the importing's place in the tree, not to mention
that we'll need to support '../' for working up one space in the tree.

It's all doable, it's just a lot more code.

> Add CommonJS style modules to the view server
> ---------------------------------------------
>                 Key: COUCHDB-658
>                 URL:
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: JavaScript View Server
>         Environment: CouchDB
>            Reporter: mikeal
>         Attachments: require.patch
> I have a patch that adds CommonJS module support to all ddoc aware view server functions
(everything except map/reduce/rereduce).

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message