You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by jc...@apache.org on 2010/02/18 22:36:50 UTC

svn commit: r911602 - /couchdb/trunk/share/server/loop.js

Author: jchris
Date: Thu Feb 18 21:36:49 2010
New Revision: 911602

URL: http://svn.apache.org/viewvc?rev=911602&view=rev
Log:
add JSON to the sandbox for older spidermonkey without native JSON

Modified:
    couchdb/trunk/share/server/loop.js

Modified: couchdb/trunk/share/server/loop.js
URL: http://svn.apache.org/viewvc/couchdb/trunk/share/server/loop.js?rev=911602&r1=911601&r2=911602&view=diff
==============================================================================
--- couchdb/trunk/share/server/loop.js (original)
+++ couchdb/trunk/share/server/loop.js Thu Feb 18 21:36:49 2010
@@ -20,6 +20,7 @@
     sandbox.sum = Views.sum;
     sandbox.log = log;
     sandbox.toJSON = Couch.toJSON;
+    sandbox.JSON = JSON;
     sandbox.provides = Mime.provides;
     sandbox.registerType = Mime.registerType;
     sandbox.start = Render.start;