couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jch...@apache.org
Subject svn commit: r735857 - /couchdb/trunk/share/www/script/couch_tests.js
Date Mon, 19 Jan 2009 22:34:17 GMT
Author: jchris
Date: Mon Jan 19 14:34:16 2009
New Revision: 735857

URL: http://svn.apache.org/viewvc?rev=735857&view=rev
Log:
fix attachment_views test on Safari

Modified:
    couchdb/trunk/share/www/script/couch_tests.js

Modified: couchdb/trunk/share/www/script/couch_tests.js
URL: http://svn.apache.org/viewvc/couchdb/trunk/share/www/script/couch_tests.js?rev=735857&r1=735856&r2=735857&view=diff
==============================================================================
--- couchdb/trunk/share/www/script/couch_tests.js [utf-8] (original)
+++ couchdb/trunk/share/www/script/couch_tests.js [utf-8] Mon Jan 19 14:34:16 2009
@@ -2862,7 +2862,7 @@
 };
 
 function makeDocs(start, end, templateDoc) {
-  var templateDocSrc = templateDoc ? templateDoc.toSource() : "{}"
+  var templateDocSrc = templateDoc ? JSON.stringify(templateDoc) : "{}"
   if (end === undefined) {
     end = start;
     start = 0;



Mime
View raw message