[ https://issues.apache.org/jira/browse/COUCHDB-658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12835516#action_12835516 ]
mikeal commented on COUCHDB-658: -------------------------------- While i agree with the assertion that scoping the root to ddoc.modules gives a false sense of security I think that by scoping it to the ddoc we're giving the impression that you can require() show and list functions, which won't work, but at this point I don't really see a way around it. Any other comments before I go in and mess with the API a bunch? > 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.