couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jch...@apache.org
Subject svn commit: r911602 - /couchdb/trunk/share/server/loop.js
Date Thu, 18 Feb 2010 21:36:50 GMT
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;



Mime
View raw message