You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ma...@apache.org on 2014/09/16 22:51:42 UTC

svn commit: r1625386 - /openoffice/ooo-site/trunk/content/download/download_kay.js

Author: marcus
Date: Tue Sep 16 20:51:42 2014
New Revision: 1625386

URL: http://svn.apache.org/r1625386
Log:
Added properties to debug function, updated comments

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

Modified: openoffice/ooo-site/trunk/content/download/download_kay.js
URL: http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/download/download_kay.js?rev=1625386&r1=1625385&r2=1625386&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/download/download_kay.js (original)
+++ openoffice/ooo-site/trunk/content/download/download_kay.js Tue Sep 16 20:51:42 2014
@@ -1,6 +1,6 @@
 /*
- * Overview of all methods (functions) defined below of the global object "DL"
- * ---------------------------------------------------------------------------
+ * Overview of all methods (functions) of the global object "DL" 
+ * -------------------------------------------------------------
  * function DL.init			()
  * function DL.initVariables		()
  * function DL.getLanguage		()
@@ -24,8 +24,8 @@
  * function DL.getFileData		()
  * function DL.debug			( location )
  *
- * Overview of global functions defined below
- * ------------------------------------------
+ * Overview of global functions
+ * ----------------------------------------------------
  * function openItem			( itemid, uri )
  */
 
@@ -1387,16 +1387,18 @@ function openItem( itemid, uri ) {
  */
 DL.debug = function( location ) {
 	// Depending on the current position in the code, show the values for the variables as alert box.
+	// If the alert box is too large, just comment out the lines that are not needed at the moment.
 	// Usage:
 	// Call the function in the code position you want to debug.
 	// Example:
-	// debug( "name the exact code position");
+	// DL.debug( "name the exact code position");
 
 	if( location === "" ) {
 		location = "No location named!";
 	}
 
 	alert( location											+ "\n"
+	+ "RELEASE_MODE: "			+ "\t\t\t\t\t\t"	+ DL.RELEASE_MODE		+ "\n"
 	+ "NL_LANG: "				+ "\t\t\t\t\t\t\t"	+ DL.NL_LANG			+ "\n"
 	+ "LANG_ISO: "				+ "\t\t\t\t\t\t"	+ DL.LANG_ISO			+ "\n"
 	+ "LANG_SEL: "				+ "\t\t\t\t\t\t"	+ DL.LANG_SEL			+ "\n"
@@ -1413,6 +1415,7 @@ DL.debug = function( location ) {
 	+ "REL_TEXT: "				+ "\t\t\t\t\t\t\t"	+ DL.REL_TEXT			+ "\n"
 	+ "REL_NOTES: "				+ "\t\t\t\t\t\t"	+ DL.REL_NOTES			+ "\n"
 	+ "VERSION_SEL: "			+ "\t\t\t\t\t\t"	+ DL.VERSION_SEL		+ "\n"
+	+ "VERSION_SEL_RAW: "			+ "\t\t\t\t\t"		+ DL.VERSION_SEL_RAW		+ "\n"
 	+ "FILENAME_FULL: "			+ "\t\t\t\t\t"		+ DL.FILENAME_FULL		+ "\n"
 	+ "FILENAME_LP: "			+ "\t\t\t\t\t\t"	+ DL.FILENAME_LP		+ "\n"
 	+ "FILESIZE_FULL: "			+ "\t\t\t\t\t\t"	+ DL.FILESIZE_FULL		+ "\n"