incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ksch...@apache.org
Subject svn commit: r1331998 - /incubator/ooo/ooo-site/trunk/content/download/test/download_new_dl.js
Date Sun, 29 Apr 2012 21:05:18 GMT
Author: kschenk
Date: Sun Apr 29 21:05:18 2012
New Revision: 1331998

URL: http://svn.apache.org/viewvc?rev=1331998&view=rev
Log:
kls -- a few more edits to the new download.js

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=1331998&r1=1331997&r2=1331998&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 Sun Apr 29 21:05:18
2012
@@ -410,19 +410,6 @@ function getLink( version, mirror ) {
 	}
 }
 
-function sourceforge_getLink(version, schema) {
-	var mirrorbrain_link = mirrorbrain_getLink(version, schema);
-	sf_link = mirrorbrain_link.replace(MIRROR_MIRRORBRAIN_URL, MIRROR_SOURCEFORGE_URL) + '/download';
-	return sf_link;
-}
-
-function apache_getLink(version, schema) {
-	var mirrorbrain_link = mirrorbrain_getLink(version, schema);
-	apache_link = mirrorbrain_link.replace(MIRROR_MIRRORBRAIN_URL, MIRROR_APACHE_REF) ;
-	return apache_link;
-}
-
-
 /*
  * get link
  * depends on array-list and download-set nameschema
@@ -442,7 +429,19 @@ function getLink( version, mirror, schem
 		}
 	}
 }
+/* getLink mods for new mirrors */
+
+function sourceforge_getLink(version, schema) {
+	var mirrorbrain_link = mirrorbrain_getLink(version, schema);
+	sf_link = mirrorbrain_link.replace(MIRROR_MIRRORBRAIN_URL, MIRROR_SOURCEFORGE_URL) + '/download';
+	return sf_link;
+}
 
+function apache_getLink(version, schema) {
+	var mirrorbrain_link = mirrorbrain_getLink(version, schema);
+	apache_link = mirrorbrain_link.replace(MIRROR_MIRRORBRAIN_URL, MIRROR_APACHE_REF) ;
+	return apache_link;
+}
 /*
  * get platform of browser
  * independant from mirror-system



Mime
View raw message