Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #2 from jimklo/master

Out of scope call to redtxt.val() was throwing an error.
  • Loading branch information...
commit b290132d81007d6d3bc68ae9fac183e919eae050 2 parents 17cc06e + f1ca601
@janl authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  jscouch.couchdb.js
View
2  jscouch.couchdb.js
@@ -98,7 +98,7 @@
// Then run each of the keys through the reduce function. If a
// given group has more than 2 keys, then we invoke rereduce
// just to illustrate how rereduce works
- var redfn = eval('foo=(function(keys, values, rereduce) {' + redtxt.val() + '})');
+ var redfn = eval('foo=(function(keys, values, rereduce) {' + redfnval + '})');
$.each(groups, function(i, e) {
if (e.value.length > 2) {
var k1 = e.key.slice(0, e.key.length/2);
Please sign in to comment.
Something went wrong with that request. Please try again.