From 22e4e59ddcbf859e4cf2750498ecc4fc2b7e3b3d Mon Sep 17 00:00:00 2001 From: John Christopher Anderson Date: Tue, 27 Jan 2009 23:07:48 +0000 Subject: add toJSON to the sandbox git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@738295 13f79535-47bb-0310-9956-ffa450edef68 --- share/server/main.js | 1 + 1 file changed, 1 insertion(+) (limited to 'share') diff --git a/share/server/main.js b/share/server/main.js index 286fd9c0..723bf655 100644 --- a/share/server/main.js +++ b/share/server/main.js @@ -207,6 +207,7 @@ try { sandbox.emit = emit; sandbox.sum = sum; sandbox.log = log; + sandbox.toJSON = toJSON; sandbox.respondWith = respondWith; sandbox.registerType = registerType; } catch (e) {} -- cgit v1.2.3