FIX la css généré dans yaws lorsque la personne n'est pas connecté
[euphorik.git] / tools / jsmin.rb
index 05a5e7d..83e2e40 100644 (file)
@@ -67,9 +67,18 @@ end
 def mynext()
     c = get
     # saute les commentaires (également les lignes commencant pas ;;)
-    if (c == "/" or c == ";")
+    
+    if (c == ";" and peek == ";")
+      while(true)
+          c = get
+          if (c[0] <= "\n"[0])
+            return c
+          end
+      end
+    end
+    if (c == "/")
        prochain = peek
-        if(prochain  == "/" or prochain == ";")
+        if(prochain  == "/")
             while(true)
                 c = get
                 if (c[0] <= "\n"[0])