Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A3460717C for ; Mon, 10 Oct 2011 23:08:53 +0000 (UTC) Received: (qmail 82109 invoked by uid 500); 10 Oct 2011 23:08:53 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 82066 invoked by uid 500); 10 Oct 2011 23:08:53 -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 82058 invoked by uid 99); 10 Oct 2011 23:08:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2011 23:08:53 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2011 23:08:51 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id CCCFB3015CD for ; Mon, 10 Oct 2011 23:08:29 +0000 (UTC) Date: Mon, 10 Oct 2011 23:08:29 +0000 (UTC) From: "Damjan Georgievski (Commented) (JIRA)" To: dev@couchdb.apache.org Message-ID: <1253181861.16840.1318288109840.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <629043574.12649.1317835654298.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (COUCHDB-1302) Fix couchjs 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-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13124555#comment-13124555 ] Damjan Georgievski commented on COUCHDB-1302: --------------------------------------------- My proposal is for CouchDB functions to be treated as CommonJS modules (http://wiki.commonjs.org/wiki/Modules/1.1) i.e. they would look like: exports = function(doc) { emit bla bla } btw, this seems to work even today in 1.2.x + vanilla 1.8.5 spidermonkey > Fix couchjs > ----------- > > Key: COUCHDB-1302 > URL: https://issues.apache.org/jira/browse/COUCHDB-1302 > Project: CouchDB > Issue Type: Improvement > Components: JavaScript View Server > Affects Versions: 1.1.1, 1.2, 1.3 > Reporter: Paul Joseph Davis > Priority: Blocker > Attachments: 0001-Prevent-linking-against-too-new-of-a-SpiderMonkey.patch, 0002-Minor-fixes-to-link-agianst-SpiderMonkey-trunk.patch > > > Figure out why some spidermonkeys have an error when doing: eval("function(){}") -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira