couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r793199 - /couchdb/trunk/share/www/script/test/attachments.js
Date Sat, 11 Jul 2009 16:43:31 GMT
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);



Mime
View raw message