Author: marcus Date: Wed May 28 22:39:57 2014 New Revision: 1598164 URL: http://svn.apache.org/r1598164 Log: Move the debugging function 'alertDbg' to the bottom
Modified: openoffice/ooo-site/trunk/content/download/test/download_droplist.js Modified: openoffice/ooo-site/trunk/content/download/test/download_droplist.js URL: http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/download/test/download_droplist.js?rev=1598164&r1=1598163&r2=1598164&view=diff ============================================================================== --- openoffice/ooo-site/trunk/content/download/test/download_droplist.js (original) +++ openoffice/ooo-site/trunk/content/download/test/download_droplist.js Wed May 28 22:39:57 2014 @@ -3,7 +3,6 @@ * ------------------------------------------ * function init () * function initVars () - * function alertDbg ( location ) * function getLanguage () * function fillOSSel () * function fillLangSel () @@ -26,6 +25,7 @@ * function getFilename ( ver ) * function getFilesize ( ver ) * function openItem ( itemid, uri ) + * function alertDbg ( location ) */ /* @@ -113,55 +113,6 @@ function initVars() { } /* - * Output values of variables for debugging - */ -function alertDbg( location ) { - if( location == "" ) - location = "No location named!"; - - alert( "" - + location + "\n" - + "NL_LANG: " + "\t\t\t\t\t\t\t" + NL_LANG + "\n" - + "LANG_ISO: " + "\t\t\t\t\t\t" + LANG_ISO + "\n" - + "LANG_ARRAY: " + "\t\t\t\t\t\t" + LANG_ARRAY + "\n" - + "RELEASE_MATRIX_PLATFORM_POS_FULL: " + "\t" + RELEASE_MATRIX_PLATFORM_POS_FULL + "\n" - + "RELEASE_MATRIX_PLATFORM_POS_LP: " + "\t\t" + RELEASE_MATRIX_PLATFORM_POS_LP + "\n" - + "RELEASE_MATRIX_PLATFORM: " + "\t\t\t" + RELEASE_MATRIX_PLATFORM + "\n" - + "RELEASE_MATRIX_LANG: " + "\t\t\t\t" + RELEASE_MATRIX_LANG + "\n" - + "UI_PLATFORM: " + "\t\t\t\t\t\t" + UI_PLATFORM + "\n" - + "UI_PLATFORM_NO_SUP: " + "\t\t\t\t" + UI_PLATFORM_NO_SUP + "\n" - + "URL_PLATFORM: " + "\t\t\t\t\t\t" + URL_PLATFORM + "\n" - + "OLD_PLATFORM: " + "\t\t\t\t\t" + OLD_PLATFORM + "\n" - + "LANG_SEL: " + "\t\t\t\t\t\t" + LANG_SEL + "\n" - + "PLATFORM_SEL: " + "\t\t\t\t\t\t" + PLATFORM_SEL + "\n" - + "VERSION_SEL: " + "\t\t\t\t\t\t" + VERSION_SEL + "\n" - + "FILENAME_FULL: " + "\t\t\t\t\t" + FILENAME_FULL + "\n" - + "FILENAME_LP: " + "\t\t\t\t\t\t" + FILENAME_LP + "\n" - + "FILESIZE_FULL: " + "\t\t\t\t\t\t" + FILESIZE_FULL + "\n" - + "FILESIZE_LP: " + "\t\t\t\t\t\t" + FILESIZE_LP + "\n" - + "EXTENSION: " + "\t\t\t\t\t\t" + EXTENSION + "\n" -// + "TYPE: " + "\t\t\t\t\t\t" + TYPE + "\n" - + "SOURCEFORGE_BASE_URL: " + "\t\t\t" + SOURCEFORGE_BASE_URL + "\n" - + "APACHE_DIST_BASE_URL: " + "\t\t\t\t" + APACHE_DIST_BASE_URL + "\n" -// + "LINK: " + "\t\t\t\t\t\t" + LINK + "\n" - + "LINK_FULL: " + "\t\t\t\t\t\t" + LINK_FULL + "\n" - + "LINK_LP: " + "\t\t\t\t\t\t\t" + LINK_LP + "\n" - + "LINK_CHECKSUM_ASC_FULL: " + "\t\t\t" + LINK_CHECKSUM_ASC_FULL + "\n" - + "LINK_CHECKSUM_MD5_FULL: " + "\t\t\t" + LINK_CHECKSUM_MD5_FULL + "\n" - + "LINK_CHECKSUM_SHA256_FULL: " + "\t\t\t" + LINK_CHECKSUM_SHA256_FULL + "\n" - + "LINK_CHECKSUM_ASC_LP: " + "\t\t\t\t" + LINK_CHECKSUM_ASC_LP + "\n" - + "LINK_CHECKSUM_MD5_LP: " + "\t\t\t\t" + LINK_CHECKSUM_MD5_LP + "\n" - + "LINK_CHECKSUM_SHA256_LP: " + "\t\t\t" + LINK_CHECKSUM_SHA256_LP + "\n" - + "SF: " + "\t\t\t\t\t\t\t\t" + SF + "\n" - + "OTHER: " + "\t\t\t\t\t\t\t" + OTHER + "\n" - + "ARCHIVE: " + "\t\t\t\t\t\t\t" + ARCHIVE + "\n" - + "ERROR: " + "\t\t\t\t\t\t\t" + ERROR + "\n" - + "" ); - - return; -} - -/* * Get array and ISO code for language * Depends on $NL_LANG and array-list */ @@ -1792,3 +1743,52 @@ function openItem( itemid, uri ) { document.location = uri; } +/* + * Output values of variables for debugging + */ +function alertDbg( location ) { + if( location == "" ) + location = "No location named!"; + + alert( "" + + location + "\n" + + "NL_LANG: " + "\t\t\t\t\t\t\t" + NL_LANG + "\n" + + "LANG_ISO: " + "\t\t\t\t\t\t" + LANG_ISO + "\n" + + "LANG_ARRAY: " + "\t\t\t\t\t\t" + LANG_ARRAY + "\n" + + "RELEASE_MATRIX_PLATFORM_POS_FULL: " + "\t" + RELEASE_MATRIX_PLATFORM_POS_FULL + "\n" + + "RELEASE_MATRIX_PLATFORM_POS_LP: " + "\t\t" + RELEASE_MATRIX_PLATFORM_POS_LP + "\n" + + "RELEASE_MATRIX_PLATFORM: " + "\t\t\t" + RELEASE_MATRIX_PLATFORM + "\n" + + "RELEASE_MATRIX_LANG: " + "\t\t\t\t" + RELEASE_MATRIX_LANG + "\n" + + "UI_PLATFORM: " + "\t\t\t\t\t\t" + UI_PLATFORM + "\n" + + "UI_PLATFORM_NO_SUP: " + "\t\t\t\t" + UI_PLATFORM_NO_SUP + "\n" + + "URL_PLATFORM: " + "\t\t\t\t\t\t" + URL_PLATFORM + "\n" + + "OLD_PLATFORM: " + "\t\t\t\t\t" + OLD_PLATFORM + "\n" + + "LANG_SEL: " + "\t\t\t\t\t\t" + LANG_SEL + "\n" + + "PLATFORM_SEL: " + "\t\t\t\t\t\t" + PLATFORM_SEL + "\n" + + "VERSION_SEL: " + "\t\t\t\t\t\t" + VERSION_SEL + "\n" + + "FILENAME_FULL: " + "\t\t\t\t\t" + FILENAME_FULL + "\n" + + "FILENAME_LP: " + "\t\t\t\t\t\t" + FILENAME_LP + "\n" + + "FILESIZE_FULL: " + "\t\t\t\t\t\t" + FILESIZE_FULL + "\n" + + "FILESIZE_LP: " + "\t\t\t\t\t\t" + FILESIZE_LP + "\n" + + "EXTENSION: " + "\t\t\t\t\t\t" + EXTENSION + "\n" +// + "TYPE: " + "\t\t\t\t\t\t" + TYPE + "\n" + + "SOURCEFORGE_BASE_URL: " + "\t\t\t" + SOURCEFORGE_BASE_URL + "\n" + + "APACHE_DIST_BASE_URL: " + "\t\t\t\t" + APACHE_DIST_BASE_URL + "\n" +// + "LINK: " + "\t\t\t\t\t\t" + LINK + "\n" + + "LINK_FULL: " + "\t\t\t\t\t\t" + LINK_FULL + "\n" + + "LINK_LP: " + "\t\t\t\t\t\t\t" + LINK_LP + "\n" + + "LINK_CHECKSUM_ASC_FULL: " + "\t\t\t" + LINK_CHECKSUM_ASC_FULL + "\n" + + "LINK_CHECKSUM_MD5_FULL: " + "\t\t\t" + LINK_CHECKSUM_MD5_FULL + "\n" + + "LINK_CHECKSUM_SHA256_FULL: " + "\t\t\t" + LINK_CHECKSUM_SHA256_FULL + "\n" + + "LINK_CHECKSUM_ASC_LP: " + "\t\t\t\t" + LINK_CHECKSUM_ASC_LP + "\n" + + "LINK_CHECKSUM_MD5_LP: " + "\t\t\t\t" + LINK_CHECKSUM_MD5_LP + "\n" + + "LINK_CHECKSUM_SHA256_LP: " + "\t\t\t" + LINK_CHECKSUM_SHA256_LP + "\n" + + "SF: " + "\t\t\t\t\t\t\t\t" + SF + "\n" + + "OTHER: " + "\t\t\t\t\t\t\t" + OTHER + "\n" + + "ARCHIVE: " + "\t\t\t\t\t\t\t" + ARCHIVE + "\n" + + "ERROR: " + "\t\t\t\t\t\t\t" + ERROR + "\n" + + "" ); + + return; +} +