diff options
author | Adam Kocoloski <kocolosk@apache.org> | 2019-05-20 13:48:56 -0400 |
---|---|---|
committer | Adam Kocoloski <kocolosk@apache.org> | 2019-05-25 08:27:43 -0400 |
commit | b1e0037e7134aa0f0461e2685b9ea694838ab0c0 (patch) | |
tree | eb05ee3cb40684bb53fb5cc9cbc1d962bb51b95b /share | |
parent | 8e6fa8bd257c5745cae7147ca4a1ed75c3eed6a8 (diff) | |
download | couchdb-b1e0037e7134aa0f0461e2685b9ea694838ab0c0.tar.gz |
Ensure Dreyfus JS code is included in build
Diffstat (limited to 'share')
-rw-r--r-- | share/server/loop.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/share/server/loop.js b/share/server/loop.js index f17983940..5d7738911 100644 --- a/share/server/loop.js +++ b/share/server/loop.js @@ -25,6 +25,7 @@ function create_sandbox() { sandbox.send = Render.send; sandbox.getRow = Render.getRow; sandbox.isArray = isArray; + sandbox.index = Dreyfus.index; } catch (e) { var sandbox = {}; } @@ -114,6 +115,7 @@ var Loop = function() { "add_fun" : State.addFun, "add_lib" : State.addLib, "map_doc" : Views.mapDoc, + "index_doc": Dreyfus.indexDoc, "reduce" : Views.reduce, "rereduce" : Views.rereduce }; |