incubator-xap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mtu...@apache.org
Subject svn commit: r517411 - /incubator/xap/trunk/samples/WebContent/examples/widgets/widget_loader.html
Date Mon, 12 Mar 2007 21:36:01 GMT
Author: mturyn
Date: Mon Mar 12 14:36:00 2007
New Revision: 517411

URL: http://svn.apache.org/viewvc?view=rev&rev=517411
Log:
Added xap.util.Debug.preloadDebuggables() before end of <head/> if we're debugging.

Modified:
    incubator/xap/trunk/samples/WebContent/examples/widgets/widget_loader.html

Modified: incubator/xap/trunk/samples/WebContent/examples/widgets/widget_loader.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/samples/WebContent/examples/widgets/widget_loader.html?view=diff&rev=517411&r1=517410&r2=517411
==============================================================================
--- incubator/xap/trunk/samples/WebContent/examples/widgets/widget_loader.html (original)
+++ incubator/xap/trunk/samples/WebContent/examples/widgets/widget_loader.html Mon Mar 12
14:36:00 2007
@@ -61,16 +61,27 @@
 		
 		<script language="JavaScript" type="text/javascript" src="../../xapcore.js"></script>
 
+
 		<script language="JavaScript" type="text/javascript">
 		
 			window.onload = function(){
 				document.getElementById("xalDiv").setAttribute("startPage",getGetVar("xalFile"));
 				Xap.createEmbeddedApplications();
-			}
+			}		
+		</script>
+		
 			
 
-			
-		</script>
+		<script language="JavaScript" type="text/javascript">
+			if(debugP){
+				// Load <script/> tag versions as late as possible:
+				xap.util.Debug.preloadDebuggables() ;
+			}
+		</script>			
+		
+	
+		
+		
 	</head>
 	  
 	<body>



Mime
View raw message