MIMETypes.st
changeset 2048 dbb361dd9c5f
parent 2028 5d67d14ad4a0
child 2055 501740104b75
--- a/MIMETypes.st	Tue Jun 07 18:13:27 2005 +0200
+++ b/MIMETypes.st	Fri Jul 01 19:09:46 2005 +0200
@@ -141,11 +141,10 @@
         at:'application/x-pascal-source'
         put:#(nil ('{' '}')).           "/ '{'..'}' for delimited comments
 
-    "/ the following is k&r
-    TypeToCommentStringMapping 
-        at:'application/x-c-source'
-        put:#(nil ('/*' '*/')).          "/ '/*'..'*/' for delimited comments
-
+"/    "/ the following is k&r
+"/    TypeToCommentStringMapping 
+"/        at:'application/x-c-source'
+"/        put:#(nil ('/*' '*/')).          "/ '/*'..'*/' for delimited comments
     "/ this is ANSI-c
     TypeToCommentStringMapping 
         at:'application/x-c-source'
@@ -160,6 +159,10 @@
         put:#('//' ('/*' '*/')).          
 
     TypeToCommentStringMapping 
+        at:'application/x-javascript'
+        put:#('//' ('/*' '*/')).          
+
+    TypeToCommentStringMapping 
         at:'application/x-asn1-source'
         put:#('--' ('--' '--')).          
 
@@ -984,7 +987,7 @@
 !MIMETypes class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview2/MIMETypes.st,v 1.78 2004-11-26 14:14:45 mb Exp $'
+    ^ '$Header: /cvs/stx/stx/libview2/MIMETypes.st,v 1.79 2005-07-01 17:09:46 cg Exp $'
 ! !
 
 MIMETypes initialize!