-
-
Save gugadev/3c690da15d6e99b8452293e02aa360d4 to your computer and use it in GitHub Desktop.
Revisions
-
nblackburn revised this gist
Jun 6, 2019 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,3 @@ module.exports = (string) => { return string.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, '$1-$2').toLowerCase(); }; -
nblackburn revised this gist
Oct 21, 2017 . No changes.There are no files selected for viewing
-
nblackburn revised this gist
Oct 21, 2017 . No changes.There are no files selected for viewing
-
nblackburn revised this gist
Oct 21, 2017 . No changes.There are no files selected for viewing
-
nblackburn revised this gist
Oct 21, 2017 . No changes.There are no files selected for viewing
-
nblackburn created this gist
Mar 7, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,3 @@ module.exports = (string) => { return string.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase(); };