diff options
author | Noah Slater <nslater@apache.org> | 2009-07-06 00:33:50 +0000 |
---|---|---|
committer | Noah Slater <nslater@apache.org> | 2009-07-06 00:33:50 +0000 |
commit | 282b96ddd9a84b740788c2358ec0f5fedafb7cc6 (patch) | |
tree | fb48e605ceb8079d0195d3b1ec0eca7110fa7ef2 /share/server/views.js | |
parent | b5cc085d3bc6316063f14adedf20632ee904875d (diff) |
trimmed trailing whitespace
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@791350 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/server/views.js')
-rw-r--r-- | share/server/views.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/share/server/views.js b/share/server/views.js index 5e193cbc..9e421237 100644 --- a/share/server/views.js +++ b/share/server/views.js @@ -27,7 +27,7 @@ sum = function(values) { } var Views = (function() { - + function runReduce(reduceFuns, keys, values, rereduce) { for (var i in reduceFuns) { reduceFuns[i] = compileFunction(reduceFuns[i]); @@ -51,7 +51,7 @@ var Views = (function() { if (query_config && query_config.reduce_limit && reduce_length > 200 && ((reduce_length * 2) > line.length)) { var reduce_preview = "Current output: '"+(reduce_line.substring(0,100) + "'... (first 100 of "+reduce_length+' bytes)'); - + throw { error:"reduce_overflow_error", reason: "Reduce output must shrink more rapidly: "+reduce_preview+"" @@ -60,7 +60,7 @@ var Views = (function() { print("[true," + reduce_line + "]"); } }; - + return { reduce : function(reduceFuns, kvs) { var keys = new Array(kvs.length); |