Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 53604 invoked from network); 18 Feb 2010 21:55:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Feb 2010 21:55:59 -0000 Received: (qmail 37361 invoked by uid 500); 18 Feb 2010 21:55:59 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 37282 invoked by uid 500); 18 Feb 2010 21:55:58 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 37272 invoked by uid 99); 18 Feb 2010 21:55:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Feb 2010 21:55:58 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Feb 2010 21:55:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D908C29A0016 for ; Thu, 18 Feb 2010 13:55:27 -0800 (PST) Message-ID: <1898452366.370101266530127887.JavaMail.jira@brutus.apache.org> Date: Thu, 18 Feb 2010 21:55:27 +0000 (UTC) From: "mikeal (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Commented: (COUCHDB-658) Add CommonJS style modules to the view server In-Reply-To: <1925896481.368831266527367954.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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.