vendor/assets/javascripts/parameterize.js in blacklight-spotlight-4.0.1 vs vendor/assets/javascripts/parameterize.js in blacklight-spotlight-4.0.2
- old
+ new
@@ -133,5 +133,7 @@
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.substring(0, num_chars);// trim to first num_chars chars
}
+
+export { URLify };
\ No newline at end of file