diff options
author | John Christopher Anderson <jchris@apache.org> | 2009-01-27 23:07:48 +0000 |
---|---|---|
committer | John Christopher Anderson <jchris@apache.org> | 2009-01-27 23:07:48 +0000 |
commit | 22e4e59ddcbf859e4cf2750498ecc4fc2b7e3b3d (patch) | |
tree | 5743bbe8194b2a1f5877f19873213eda7d8c341c /share/server/main.js | |
parent | ee4ba41be000abbf4d888d306c72b6e805fdc01b (diff) |
add toJSON to the sandbox
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@738295 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/server/main.js')
-rw-r--r-- | share/server/main.js | 1 |
1 files changed, 1 insertions, 0 deletions
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) {} |