summaryrefslogtreecommitdiff
path: root/share/www/script/couch.js
diff options
context:
space:
mode:
authorDamien F. Katz <damien@apache.org>2008-05-01 12:07:52 +0000
committerDamien F. Katz <damien@apache.org>2008-05-01 12:07:52 +0000
commitfda591cf7d4db91222d1db988f570c6039182729 (patch)
tree4afa8b4b9bfd173e44e725120975d709b1ea3f12 /share/www/script/couch.js
parentd10b27ac0e6da94ae2766ac6d2701cbc0b6bef5f (diff)
fix for compaction problem with attachments, and enhancements to JS shell, to make debugging tests easier.
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@652489 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/script/couch.js')
-rw-r--r--share/www/script/couch.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/www/script/couch.js b/share/www/script/couch.js
index f1544893..5f42ac38 100644
--- a/share/www/script/couch.js
+++ b/share/www/script/couch.js
@@ -87,7 +87,7 @@ function CouchDB(name) {
var result = JSON.parse(req.responseText);
if (req.status != 201)
throw result;
- for(i in docs) {
+ for(var i in docs) {
docs[i]._rev = result.new_revs[i].rev;
}
return result;