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 mt...@apache.org on 2007/03/12 21:36:01 UTC

svn commit: r517411 - /incubator/xap/trunk/samples/WebContent/examples/widgets/widget_loader.html

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>