Some changes that somehow got lost on my file system.
[redakcja.git] / platforma / static / js / slugify.js
index b000b64..9e17ba7 100644 (file)
         }
         return downcoded;
     }
-    
+
     slugify = function(s) {
         s = downcode(s);
         // if downcode doesn't hit, the char will be stripped here
         s = s.replace(/^\s+|\s+$/g, ''); // trim leading/trailing spaces
         s = s.replace(/[-\s]+/g, '-');   // convert spaces to hyphens
         s = s.toLowerCase();             // convert to lowercase
-        
+
         return s;
     }
-})()
+})();
+
+