mirror of
https://gitlab.com/prism-break/prism-break.git
synced 2025-03-31 21:34:04 +00:00
Update slugify.ls
This commit is contained in:
parent
8d9896d932
commit
3f0ed799a0
@ -1,4 +1,4 @@
|
||||
# source: http://stackoverflow.com/a/5782563
|
||||
# source: https://stackoverflow.com/a/5782563
|
||||
export slugify = (string) ->
|
||||
string = string.replace(/^\s+|\s+$/g, '')
|
||||
string = string.to-lower-case!
|
||||
|
Loading…
Reference in New Issue
Block a user