[
https://issues.apache.org/jira/browse/COUCHDB-658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12835429#action_12835429
]
mikeal commented on COUCHDB-658:
--------------------------------
For reference:
http://commonjs.org/specs/modules/1.0.html
In particular 4-6 in the "module identifier section":
# Module identifiers may be "relative" or "top-level". A module identifier is
"relative" if the first term is "." or "..".
# Top-level identifiers are resolved off the conceptual module name space root.
# Relative identifiers are resolved relative to the identifier of the module in
which "require" is written and called.
> Add CommonJS style modules to the view server
> ---------------------------------------------
>
> Key: COUCHDB-658
> URL: https://issues.apache.org/jira/browse/COUCHDB-658
> 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.