diff options
author | Robert Newson <robert.newson@cloudant.com> | 2011-10-10 17:55:50 +0100 |
---|---|---|
committer | Robert Newson <robert.newson@cloudant.com> | 2011-10-10 19:04:54 +0100 |
commit | cf630a2e87ac1b6eace26601dc5b7ffdb39273b2 (patch) | |
tree | fe5080dedf417b20112ed372d737eb8c3ca309ff /couchjs/js | |
parent | 6e6523d62beff627c444aec3d658ef1a5d534ff1 (diff) | |
parent | da22c19f7a7fdfae015dfb0db93b5bd9453eae6c (diff) |
Merge remote-tracking branch 'apache/1.1.x'
Diffstat (limited to 'couchjs/js')
-rw-r--r-- | couchjs/js/util.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/couchjs/js/util.js b/couchjs/js/util.js index d498ee64..a7449315 100644 --- a/couchjs/js/util.js +++ b/couchjs/js/util.js @@ -63,11 +63,6 @@ var Couch = { }, compileFunction : function(source, ddoc) { if (!source) throw(["error","not_found","missing function"]); - // Some newer SpiderMonkey's appear to not like evaluating - // an anonymous function at global scope. Simple fix just - // wraps the source with parens so the function object is - // returned correctly. - source = "(" + source + ")"; try { if (sandbox) { if (ddoc) { |