summaryrefslogtreecommitdiff
path: root/share/www/script
diff options
context:
space:
mode:
authorJan Lehnardt <jan@apache.org>2009-07-11 16:43:30 +0000
committerJan Lehnardt <jan@apache.org>2009-07-11 16:43:30 +0000
commit270d1e004e3bed8fc21bbe37676292227d720dc3 (patch)
tree7adcad0312e3b31c1edbfa106a3c9891103161ef /share/www/script
parent227e122f3d429209c5bfe2073c3d671bde5b767b (diff)
tabs -> spaces, other whitespace
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@793199 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/script')
-rw-r--r--share/www/script/test/attachments.js19
1 files changed, 9 insertions, 10 deletions
diff --git a/share/www/script/test/attachments.js b/share/www/script/test/attachments.js
index 79178f8c..f89ec124 100644
--- a/share/www/script/test/attachments.js
+++ b/share/www/script/test/attachments.js
@@ -149,21 +149,20 @@ couchTests.attachments= function(debug) {
T(xhr.status == 200);
T(xhr.responseText == "This is a string");
-
// Attachment sparseness COUCHDB-220
var docs = []
for (var i = 0; i < 5; i++) {
- var doc = {
- _id: (i).toString(),
- _attachments:{
- "foo.txt": {
- content_type:"text/plain",
- data: "VGhpcyBpcyBhIGJhc2U2NCBlbmNvZGVkIHRleHQ="
- }
- }
+ var doc = {
+ _id: (i).toString(),
+ _attachments:{
+ "foo.txt": {
+ content_type:"text/plain",
+ data: "VGhpcyBpcyBhIGJhc2U2NCBlbmNvZGVkIHRleHQ="
+ }
}
- docs.push(doc)
+ }
+ docs.push(doc)
}
db.bulkSave(docs);