couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject svn commit: r1057334 - /couchdb/trunk/share/www/script/couch_test_runner.js
Date Mon, 10 Jan 2011 19:40:17 GMT
Author: rnewson
Date: Mon Jan 10 19:40:17 2011
New Revision: 1057334

URL: http://svn.apache.org/viewvc?rev=1057334&view=rev
Log:
spell javascript correctly in loadScript(url)

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=1057334&r1=1057333&r2=1057334&view=diff
==============================================================================
--- couchdb/trunk/share/www/script/couch_test_runner.js (original)
+++ couchdb/trunk/share/www/script/couch_test_runner.js Mon Jan 10 19:40:17 2011
@@ -18,7 +18,7 @@ function loadScript(url) {
   if((url.substr(0, 7) == "http://")
     || (url.substr(0, 2) == "//")
     || (url.substr(0, 5) == "data:")
-    || (url.substr(0, 11) == "javsacript:")) {
+    || (url.substr(0, 11) == "javascript:")) {
         throw "Not loading remote test scripts";
   }
   if (typeof document != "undefined") document.write('<script src="'+url+'"></script>');



Mime
View raw message