You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2010/08/28 23:47:47 UTC

svn commit: r990455 - /myfaces/tomahawk/trunk/core20/src/main/java/org/apache/myfaces/tomahawk/resource/UncompressedResourceHandlerSupport.java

Author: lu4242
Date: Sat Aug 28 21:47:47 2010
New Revision: 990455

URL: http://svn.apache.org/viewvc?rev=990455&view=rev
Log:
TOMAHAWK-1542 Compress javascript files for production and show uncompressed versions when ProjectStage is not Production

Modified:
    myfaces/tomahawk/trunk/core20/src/main/java/org/apache/myfaces/tomahawk/resource/UncompressedResourceHandlerSupport.java

Modified: myfaces/tomahawk/trunk/core20/src/main/java/org/apache/myfaces/tomahawk/resource/UncompressedResourceHandlerSupport.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core20/src/main/java/org/apache/myfaces/tomahawk/resource/UncompressedResourceHandlerSupport.java?rev=990455&r1=990454&r2=990455&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/core20/src/main/java/org/apache/myfaces/tomahawk/resource/UncompressedResourceHandlerSupport.java (original)
+++ myfaces/tomahawk/trunk/core20/src/main/java/org/apache/myfaces/tomahawk/resource/UncompressedResourceHandlerSupport.java Sat Aug 28 21:47:47 2010
@@ -47,7 +47,7 @@ public class UncompressedResourceHandler
             if (FacesContext.getCurrentInstance().isProjectStage(ProjectStage.Development))
             {
                 _resourceLoaders = new ResourceLoader[] {
-                        new UncompressedClassLoaderResourceLoader("META-INF/uncompressed-resources")
+                        new UncompressedClassLoaderResourceLoader("META-INF/uncompressed-js-resources")
                         };
             }
             else