[ 
https://issues.apache.org/jira/browse/COUCHDB-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13121591#comment-13121591
 ] 

Paul Joseph Davis commented on COUCHDB-1302:
--------------------------------------------

I thought to ask the SpiderMonkey hackers how crazy it was to try and do source 
level analysis to automatically wrap that last anonymous function in parens. 
Jason Orendorff is on record as saying it would be hopeless to try and hack 
that outside of the SpiderMonkey engine.

The only other thing I can think of would be to try and hack JSLint's parser to 
do this for us. Other than that, I think we really are up shit creek here.
                
> 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
>
> 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

        

Reply via email to