You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xap-commits@incubator.apache.org by jm...@apache.org on 2006/11/06 08:40:02 UTC
svn commit: r471664 - /incubator/xap/trunk/src/xap/util/Debug.js
Author: jmargaris
Date: Mon Nov 6 00:40:01 2006
New Revision: 471664
URL: http://svn.apache.org/viewvc?view=rev&rev=471664
Log:
fix for referencing an undefined var
Modified:
incubator/xap/trunk/src/xap/util/Debug.js
Modified: incubator/xap/trunk/src/xap/util/Debug.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/util/Debug.js?view=diff&rev=471664&r1=471663&r2=471664
==============================================================================
--- incubator/xap/trunk/src/xap/util/Debug.js (original)
+++ incubator/xap/trunk/src/xap/util/Debug.js Mon Nov 6 00:40:01 2006
@@ -102,9 +102,9 @@
}
-if( debug_config ){
- for(var key in debug_config ){
- xap.util.Debug[key] = debug_config[key] ;
+if( window.debug_config ){
+ for(var key in window.debug_config ){
+ xap.util.Debug[key] = window.debug_config[key] ;
}
// Easiest to load list of debuggables with
// an array, easiest to keep and use as a Set (object keys)