Author: marcus
Date: Thu Feb 20 22:50:34 2014
New Revision: 1570381
URL: http://svn.apache.org/r1570381
Log:
Added spaces for function parameters
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=1570381&r1=1570380&r2=1570381&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/download/test/download.js (original)
+++ openoffice/ooo-site/trunk/content/download/test/download.js Thu Feb 20
22:50:34 2014
@@ -121,13 +121,13 @@ function hasMirrorLink() {
* Get link to mirror system for download file and checksum file
* Depends on array-list
*/
-function getLink(rel_mode) {
+function getLink( rel_mode ) {
var chk_link = "";
getLanguage();
hasMirrorLink();
getPlatform();
- getFilesize(rel_mode);
+ getFilesize( rel_mode );
if ( NL_LANGUAGE == "" )
NL_LANGUAGE = LANG_ISO;
@@ -141,7 +141,7 @@ function getLink(rel_mode) {
if ( hasMirrorLink() ) {
// If platform is too old, then provide a general download link
to the archive.
if ( OLD_PLATFORM ) {
- if (rel_mode == 0) {
+ if ( rel_mode == 0 ) {
// Release mode
LINK =
"http://archive.apache.org/dist/openoffice/";
@@ -156,7 +156,7 @@ function getLink(rel_mode) {
if ( UI_PLATFORM == "Mac OS X (10.6 or older)" ) {
// If platform is Mac OS X <=10.6, then provide
a download link with previous AOO version.
- if (rel_mode == 0) {
+ if ( rel_mode == 0 ) {
// Release mode
FILENAME = "Apache_OpenOffice_" +
PRE_VERSION + "_" + URL_PLATFORM + "_";
FILENAME = FILENAME + NL_LANGUAGE +
EXTENSION;
@@ -184,7 +184,7 @@ function getLink(rel_mode) {
if ( UI_PLATFORM == "" )
UI_PLATFORM = "unknown platform/OS";
- if (rel_mode == 0) {
+ if ( rel_mode == 0 ) {
// Release mode
LINK =
"http://www.openoffice.org/download/other.html";
} else {
@@ -200,7 +200,7 @@ function getLink(rel_mode) {
// FILENAME = "Apache_OpenOffice_" + VERSION + "_"
+ URL_PLATFORM + "_" + NL_LANGUAGE;
// FILENAME = FILENAME + EXTENSION;
- if (rel_mode == 0) {
+ if ( rel_mode == 0 ) {
// Release mode
// Assign the file name (column 3) from the
release matrix of language and platform
FILENAME = release_matrix[ LANG_ISO ][
RELEASE_MATRIX_PLATFORM_POS ][ 3 ];
@@ -407,7 +407,7 @@ function getPlatform() {
* Get file size for download file
* Depends on array-list
*/
-function getFilesize(rel_mode) {
+function getFilesize( rel_mode ) {
// Depending on $URL_PLATFORM assign the platform position of the
release matrix
switch ( URL_PLATFORM ) {
case "Linux_x86-64_install-deb":
@@ -434,7 +434,7 @@ function getFilesize(rel_mode) {
// If a platform was found and no error occurred, assign the array data
and filesize from the release matrix
if ( RELEASE_MATRIX_PLATFORM_POS > -1 && !ERROR ) {
- if (rel_mode == 0) {
+ if ( rel_mode == 0 ) {
// Release mode
// Assign all values from the release matrix of
language and platform
RELEASE_MATRIX_PLATFORM = release_matrix[ LANG_ISO ][
RELEASE_MATRIX_PLATFORM_POS ];