You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ks...@apache.org on 2012/04/26 01:53:30 UTC

svn commit: r1330606 - /incubator/ooo/ooo-site/trunk/content/download/test/download_new_dl.js

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;
 		}
 	}