forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1438208 - /forrest/trunk/main/webapp/resources.xmap
Date Thu, 24 Jan 2013 21:38:25 GMT
Author: sjur
Date: Thu Jan 24 21:38:25 2013
New Revision: 1438208

URL: http://svn.apache.org/viewvc?rev=1438208&view=rev
Log:
Javascript now served (at least from our sitemap) as text/javascript.

Modified:
    forrest/trunk/main/webapp/resources.xmap

Modified: forrest/trunk/main/webapp/resources.xmap
URL: http://svn.apache.org/viewvc/forrest/trunk/main/webapp/resources.xmap?rev=1438208&r1=1438207&r2=1438208&view=diff
==============================================================================
--- forrest/trunk/main/webapp/resources.xmap (original)
+++ forrest/trunk/main/webapp/resources.xmap Thu Jan 24 21:38:25 2013
@@ -133,11 +133,11 @@ $Revision: 1.13 $
   <map:pipelines>
     <map:pipeline>
       <map:match pattern="**skin/**.js">
-        <map:read src="{lm:skin.js.{2}}" mime-type="application/x-javascript" />
+        <map:read src="{lm:skin.js.{2}}" mime-type="text/javascript" />
       </map:match>
 <!-- @deprecated -->
       <map:match pattern="**.js">
-        <map:read src="{lm:project.js.{1}}" mime-type="application/x-javascript" />
+        <map:read src="{lm:project.js.{1}}" mime-type="text/javascript" />
       </map:match>
       <map:match pattern="**skin/**.css">
         <map:select type="exists">



Mime
View raw message