labs-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simo...@apache.org
Subject svn commit: r730736 - /labs/magma/trunk/website-jquery/src/main/java/org/apache/magma/jquery/JQueryWebHandler.java
Date Fri, 02 Jan 2009 14:27:07 GMT
Author: simoneg
Date: Fri Jan  2 06:27:07 2009
New Revision: 730736

URL: http://svn.apache.org/viewvc?rev=730736&view=rev
Log:
LABS-261 : return optimized version of jquery when in production

Modified:
    labs/magma/trunk/website-jquery/src/main/java/org/apache/magma/jquery/JQueryWebHandler.java

Modified: labs/magma/trunk/website-jquery/src/main/java/org/apache/magma/jquery/JQueryWebHandler.java
URL: http://svn.apache.org/viewvc/labs/magma/trunk/website-jquery/src/main/java/org/apache/magma/jquery/JQueryWebHandler.java?rev=730736&r1=730735&r2=730736&view=diff
==============================================================================
--- labs/magma/trunk/website-jquery/src/main/java/org/apache/magma/jquery/JQueryWebHandler.java
(original)
+++ labs/magma/trunk/website-jquery/src/main/java/org/apache/magma/jquery/JQueryWebHandler.java
Fri Jan  2 06:27:07 2009
@@ -10,7 +10,7 @@
 	@Override
 	public Producer doResource(String fileName) {
 		fileName = "jquery-1.2.6.js";
-		if (!System.getProperty("magma.env", "dev").equals("dev")) {
+		if (!Settings.isDeveloperEnv()) {
 			fileName += ".min";
 		}
 		Producer res = super.doResource(fileName);



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@labs.apache.org
For additional commands, e-mail: commits-help@labs.apache.org


Mime
View raw message