couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Randall Leeds (Commented) (JIRA)" <>
Subject [jira] [Commented] (COUCHDB-1302) Fix couchjs
Date Thu, 06 Oct 2011 23:57:29 GMT


Randall Leeds commented on COUCHDB-1302:

+1 on 1 and 2.
+1 for 3. I'll write this up for 1.1.x if Paul doesn't beat me to it. 1.2/2.0 needs something
different though.

Paul discovered and mentioned in IRC that we can't actually look for the last function if
people use named functions because eval('function map(...){...}') === undefined. In other
words, we need to pull 'map' out of the global scope after the call to eval() so it needs
to have a well-known name.

So we're stuck opening up the 2.0 can of worms it seems. We should consider what the cleanest
looking design document that makes this all look sane is and what effect any changes have
on the way we index and optimize work for calculating design doc indexes.

We should focus on 1.1.1 and then open the bikeshed floodgates.
> Fix couchjs
> -----------
>                 Key: COUCHDB-1302
>                 URL:
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: JavaScript View Server
>    Affects Versions: 1.1.1, 1.2, 1.3
>            Reporter: Paul Joseph Davis
>            Priority: Blocker
> 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:!default.jspa
For more information on JIRA, see:


View raw message