[embjopr-commits] EMBJOPR SVN: r222 - trunk/jsfunit/src/main/webapp/WEB-INF.

embjopr-commits at lists.jboss.org embjopr-commits at lists.jboss.org
Fri Mar 13 16:56:22 EDT 2009


Author: ozizka at redhat.com
Date: 2009-03-13 16:56:22 -0400 (Fri, 13 Mar 2009)
New Revision: 222

Modified:
   trunk/jsfunit/src/main/webapp/WEB-INF/web.xml
Log:
web.xml in JSFUnit's war: Added org.ajax4jsf.COMPRESS_SCRIPT=false, this prevents the JS files to be shrinked, making JS debugging easier.

Modified: trunk/jsfunit/src/main/webapp/WEB-INF/web.xml
===================================================================
--- trunk/jsfunit/src/main/webapp/WEB-INF/web.xml	2009-03-13 18:20:30 UTC (rev 221)
+++ trunk/jsfunit/src/main/webapp/WEB-INF/web.xml	2009-03-13 20:56:22 UTC (rev 222)
@@ -36,6 +36,12 @@
         <param-value>jboss-console</param-value>
     </context-param>
 
+    <!-- It doesn't allow A4J to reformat JavaScript files (makes it impossible to debug) -->
+    <context-param>
+        <param-name>org.ajax4jsf.COMPRESS_SCRIPT</param-name>
+        <param-value>false</param-value>
+    </context-param>
+
     <!-- JSFUnit -->
     <filter>
      <filter-name>JSFUnitFilter</filter-name>




More information about the embjopr-commits mailing list