You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2009/07/11 18:43:31 UTC
svn commit: r793199 - /couchdb/trunk/share/www/script/test/attachments.js
Author: jan
Date: Sat Jul 11 16:43:30 2009
New Revision: 793199
URL: http://svn.apache.org/viewvc?rev=793199&view=rev
Log:
tabs -> spaces, other whitespace
Modified:
couchdb/trunk/share/www/script/test/attachments.js
Modified: couchdb/trunk/share/www/script/test/attachments.js
URL: http://svn.apache.org/viewvc/couchdb/trunk/share/www/script/test/attachments.js?rev=793199&r1=793198&r2=793199&view=diff
==============================================================================
--- couchdb/trunk/share/www/script/test/attachments.js (original)
+++ couchdb/trunk/share/www/script/test/attachments.js Sat Jul 11 16:43:30 2009
@@ -149,21 +149,20 @@
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);