diff options
author | John Christopher Anderson <jchris@apache.org> | 2010-02-25 01:20:07 +0000 |
---|---|---|
committer | John Christopher Anderson <jchris@apache.org> | 2010-02-25 01:20:07 +0000 |
commit | 16577da96d0cb43b7733a3a04c21aa9ac72bdb64 (patch) | |
tree | 6272012e5de13625259894bc699d568a1a3cb90b /share/server/loop.js | |
parent | 4bc9bfa958d7107e2667cde9d671fd189301d4bf (diff) |
commonjs require for show list etc via Mikeal Rogers. closes COUCHDB-658
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@916076 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/server/loop.js')
-rw-r--r-- | share/server/loop.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/server/loop.js b/share/server/loop.js index 800d4440..300151e9 100644 --- a/share/server/loop.js +++ b/share/server/loop.js @@ -74,7 +74,7 @@ var DDoc = (function() { if (i+1 == funPath.length) { fun = point[funPath[i]] if (typeof fun != "function") { - fun = Couch.compileFunction(fun); + fun = Couch.compileFunction(fun, ddoc); // cache the compiled fun on the ddoc point[funPath[i]] = fun }; |