myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lof...@apache.org
Subject svn commit: r1569271 - in /myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script: tobago-logging.js tobago.js
Date Tue, 18 Feb 2014 11:06:34 GMT
Author: lofwyr
Date: Tue Feb 18 11:06:33 2014
New Revision: 1569271

URL: http://svn.apache.org/r1569271
Log:
TOBAGO-1366: Remove Tobago-Debug-Window, use console instead

Modified:
    myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-logging.js
    myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js

Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-logging.js
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-logging.js?rev=1569271&r1=1569270&r2=1569271&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-logging.js
(original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-logging.js
Tue Feb 18 11:06:33 2014
@@ -29,7 +29,7 @@ var LOG = {
   WARN:  3,
   ERROR: 4,
 
-  hasConsole: typeof console == "undefined",
+  hasConsole: typeof console != "undefined",
   level: this.INFO,
   maximumSeverity: 0,
 
@@ -135,5 +135,3 @@ var LOG = {
     this.warn("Menthod LOG.debugAjaxComponents() is deprecated!");
   }
 };
-
-jQuery(document).ready(Tobago.LOG.init);

Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js?rev=1569271&r1=1569270&r2=1569271&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js
(original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js
Tue Feb 18 11:06:33 2014
@@ -286,6 +286,9 @@ var Tobago = {
     }
     this.initMarker = true;
 
+    if (LOG.init) { // @DEV_ONLY
+      LOG.init(); // @DEV_ONLY
+    } // @DEV_ONLY
 
     TbgTimer.startOnload = new Date(); // @DEV_ONLY
     var page = jQuery(".tobago-page");



Mime
View raw message