forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From je...@apache.org
Subject cvs commit: xml-forrest/src/resources/conf static.xmap
Date Sun, 25 May 2003 23:22:38 GMT
jefft       2003/05/25 16:22:38

  Modified:    src/resources/conf static.xmap
  Log:
  Use the Correct MIME type for Javascript
  
  Revision  Changes    Path
  1.6       +3 -3      xml-forrest/src/resources/conf/static.xmap
  
  Index: static.xmap
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/conf/static.xmap,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- static.xmap	13 May 2003 01:12:43 -0000	1.5
  +++ static.xmap	25 May 2003 23:22:38 -0000	1.6
  @@ -28,19 +28,19 @@
         <map:match pattern="skin/**.js">
           <map:call resource="skin-read">
             <map:parameter name="path" value="scripts/{1}.js" />
  -          <map:parameter name="mime-type" value="application/javascript" />
  +          <map:parameter name="mime-type" value="application/x-javascript" />
           </map:call>
         </map:match>
   
         <map:match pattern="**/skin/**.js">
           <map:call resource="skin-read">
             <map:parameter name="path" value="scripts/{2}.js" />
  -          <map:parameter name="mime-type" value="application/javascript" />
  +          <map:parameter name="mime-type" value="application/x-javascript" />
           </map:call>
         </map:match>
   
         <map:match pattern="**.js">
  -        <map:read src="resources/scripts/{1}.js" mime-type="application/javascript"
/>
  +        <map:read src="resources/scripts/{1}.js" mime-type="application/x-javascript"
/>
         </map:match>
   
         <map:match pattern="skin/**.css">
  
  
  

Mime
View raw message