couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject svn commit: r775796 - /couchdb/trunk/share/www/script/couch_test_runner.js
Date Mon, 18 May 2009 03:12:54 GMT
Author: davisp
Date: Mon May 18 03:12:54 2009
New Revision: 775796

URL: http://svn.apache.org/viewvc?rev=775796&view=rev
Log:
View source loads the original file now.


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

Modified: couchdb/trunk/share/www/script/couch_test_runner.js
URL: http://svn.apache.org/viewvc/couchdb/trunk/share/www/script/couch_test_runner.js?rev=775796&r1=775795&r2=775796&view=diff
==============================================================================
--- couchdb/trunk/share/www/script/couch_test_runner.js (original)
+++ couchdb/trunk/share/www/script/couch_test_runner.js Mon May 18 03:12:54 2009
@@ -109,8 +109,7 @@
 function showSource(cell) {
   var name = $(cell).text();
   var win = window.open("", name, "width=700,height=500,resizable=yes,scrollbars=yes");
-  win.document.title = name;
-  $("<pre></pre>").text(couchTests[name].toString()).appendTo(win.document.body).fadeIn();
+  win.document.location = "script/test/" + name + ".js";
 }
 
 function updateTestsListing() {
@@ -187,4 +186,4 @@
   } else {
     return JSON.stringify(val);
   }
-}
\ No newline at end of file
+}



Mime
View raw message