summaryrefslogtreecommitdiff
path: root/share/server/loop.js
diff options
context:
space:
mode:
Diffstat (limited to 'share/server/loop.js')
-rw-r--r--share/server/loop.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/share/server/loop.js b/share/server/loop.js
index 84e35dc5..800d4440 100644
--- a/share/server/loop.js
+++ b/share/server/loop.js
@@ -20,6 +20,7 @@ function init_sandbox() {
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;