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 2009/01/28 00:07:48 UTC

svn commit: r738295 - /couchdb/trunk/share/server/main.js

Author: jchris
Date: Tue Jan 27 23:07:48 2009
New Revision: 738295

URL: http://svn.apache.org/viewvc?rev=738295&view=rev
Log:
add toJSON to the sandbox

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

Modified: couchdb/trunk/share/server/main.js
URL: http://svn.apache.org/viewvc/couchdb/trunk/share/server/main.js?rev=738295&r1=738294&r2=738295&view=diff
==============================================================================
--- couchdb/trunk/share/server/main.js [utf-8] (original)
+++ couchdb/trunk/share/server/main.js [utf-8] Tue Jan 27 23:07:48 2009
@@ -207,6 +207,7 @@
   sandbox.emit = emit;
   sandbox.sum = sum;
   sandbox.log = log;
+  sandbox.toJSON = toJSON;
   sandbox.respondWith = respondWith;
   sandbox.registerType = registerType;
 } catch (e) {}