openoffice-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject svn commit: r1591712 - /openoffice/ooo-site/trunk/content/download/test/download.js
Date Thu, 01 May 2014 17:02:50 GMT
Author: marcus
Date: Thu May  1 17:02:50 2014
New Revision: 1591712

URL: http://svn.apache.org/r1591712
Log:
Updated comments

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

Modified: openoffice/ooo-site/trunk/content/download/test/download.js
URL: http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/download/test/download.js?rev=1591712&r1=1591711&r2=1591712&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/download/test/download.js (original)
+++ openoffice/ooo-site/trunk/content/download/test/download.js Thu May  1 17:02:50 2014
@@ -62,7 +62,7 @@ function alertDbg( function_name ) {
 
 /*
  * Get array and ISO code for language
- * Depends on $NL_LANGUAGE
+ * Depends on $NL_LANGUAGE and "languages.js"
  */
 function getLanguage() {
 	var language = "";
@@ -363,8 +363,9 @@ function getPlatform() {
 
 	// Add ECMA262-5 Array methods if not supported natively
 	// To workaround that MSIE 8 and older do not support this function
+
 	if ( !( 'indexOf' in Array.prototype ) ) {
-		Array.prototype.indexOf= function( find, i /*opt*/ ) {
+		Array.prototype.indexOf= function( find, i ) {	// 'i' is an optional parameter
 			if ( i === undefined )
 				i = 0;
 			if ( i < 0 )
@@ -514,7 +515,7 @@ function getPlatform() {
 
 /*
  * Get file size for download file
- * Depends on array-list
+ * Depends on array-list and "release_matrix.js"
  */
 function getFilesize() {
 	// Depending on $URL_PLATFORM assign the platform position of the release matrix



Mime
View raw message