diff options
| author | Filipe David Borba Manana <fdmanana@apache.org> | 2010-11-20 13:44:42 +0000 |
|---|---|---|
| committer | Filipe David Borba Manana <fdmanana@apache.org> | 2010-11-20 13:44:42 +0000 |
| commit | 6359774347b134237b0bdfa0fd0a409ba85eac8d (patch) | |
| tree | 6e04d5931384d61523c68cd64437373355e2e29e /share/server/loop.js | |
| parent | 7a1c70952749b995fb481817cff5e552a7ac47f9 (diff) | |
| download | couchdb-6359774347b134237b0bdfa0fd0a409ba85eac8d.tar.gz | |
Fixing some jslint warnings.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1037206 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/server/loop.js')
| -rw-r--r-- | share/server/loop.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/share/server/loop.js b/share/server/loop.js index d5bbd977e..beb7d9777 100644 --- a/share/server/loop.js +++ b/share/server/loop.js @@ -72,14 +72,14 @@ var DDoc = (function() { var point = ddoc; for (var i=0; i < funPath.length; i++) { if (i+1 == funPath.length) { - fun = point[funPath[i]] + var fun = point[funPath[i]]; if (typeof fun != "function") { fun = Couch.compileFunction(fun, ddoc); // cache the compiled fun on the ddoc - point[funPath[i]] = fun + point[funPath[i]] = fun; }; } else { - point = point[funPath[i]] + point = point[funPath[i]]; } }; |
