incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ksch...@apache.org
Subject svn commit: r1330606 - /incubator/ooo/ooo-site/trunk/content/download/test/download_new_dl.js
Date Wed, 25 Apr 2012 23:53:30 GMT
Author: kschenk
Date: Wed Apr 25 23:53:30 2012
New Revision: 1330606

URL: http://svn.apache.org/viewvc?rev=1330606&view=rev
Log:
kls -- more changes to getMirrorHost

Modified:
    incubator/ooo/ooo-site/trunk/content/download/test/download_new_dl.js

Modified: incubator/ooo/ooo-site/trunk/content/download/test/download_new_dl.js
URL: http://svn.apache.org/viewvc/incubator/ooo/ooo-site/trunk/content/download/test/download_new_dl.js?rev=1330606&r1=1330605&r2=1330606&view=diff
==============================================================================
--- incubator/ooo/ooo-site/trunk/content/download/test/download_new_dl.js (original)
+++ incubator/ooo/ooo-site/trunk/content/download/test/download_new_dl.js Wed Apr 25 23:53:30
2012
@@ -18,6 +18,7 @@ function getMirrorHost() {
 		// If random value is lower than ratio
         	if ( randVal < MIRROR_RATIO ) {
 			mirrorHost = "Apache";
+			document.write ("Apache wins" + <br/>");
 			return MIRROR_APACHE_URL;
 		}
 	}
@@ -26,6 +27,7 @@ function getMirrorHost() {
 		// If random value is higher than ratio
         	if ( randVal > MIRROR_RATIO ) {
 			mirrorHost = "SourceForge";
+			document.write ("SourceForge wins" + "<br />");
 			return MIRROR_SOURCEFORGE_URL;
 		}
 	}



Mime
View raw message