bug fixes in couchapp

This commit is contained in:
Chris Anderson 2008-09-16 12:10:45 -04:00
parent 92f4871696
commit 38462375b4
4 changed files with 21 additions and 4 deletions

View file

@ -1,7 +1,7 @@
// example reduce function to count the
// number of rows in a given key range.
function(keys, value, rereduce) {
function(keys, values, rereduce) {
if (rereduce) {
return sum(values);
} else {