comment strings for javascript files
authorClaus Gittinger <cg@exept.de>
Fri, 01 Jul 2005 19:09:46 +0200
changeset 2048 dbb361dd9c5f
parent 2047 f3b5fa8cd08e
child 2049 d9c6f22084b9
comment strings for javascript files
MIMETypes.st
--- 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!