couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Smith (Commented) (JIRA)" <>
Subject [jira] [Commented] (COUCHDB-1397) Function expressions, evals in SpiderMonkey
Date Mon, 06 Feb 2012 10:46:05 GMT


Jason Smith commented on COUCHDB-1397:

@All: I am fascinated and excited about the discussion of unit testing Couch apps more easily.
Would you mind moving this discussion to the dev@ and user@ list? (These JIRA tickets are
sent there, so you can simply hit reply from your mailer.)

@Dave, thanks again for your thoughts. In this thread, your arguments seem to have resonated
more strongly than mine. I hope you'll chew over Max's point that, if our goal is more well-formed,
valid Javascript as a means of exporting functionality to a larger framework, then CommonJS
should be a strong favorite.
> Function expressions, evals in SpiderMonkey
> -------------------------------------------
>                 Key: COUCHDB-1397
>                 URL:
>             Project: CouchDB
>          Issue Type: Bug
>          Components: JavaScript View Server
>    Affects Versions: 1.2.1
>         Environment: All
>            Reporter: Jason Smith
> New SpiderMonkey releases do not eval() a sole anonymous function expression. That is
not a valid JavaScript statement, and so it is not a valid JavaScript script.
> COUCHDB-1302 addressed this for 1.1 and the 1.1.x branch. This ticket is for 1.2. (Sorry
to spam COUCHDB-1302. I saw "Unassigned" and read "Unresolved.")

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message