chore: preparing for the move

This commit is contained in:
Mrugesh Mohapatra
2018-09-27 12:36:41 +05:30
parent 5272862733
commit 67929d80ff
402 changed files with 0 additions and 0 deletions

7
curriculum/utils.js Normal file
View File

@ -0,0 +1,7 @@
export function dasherize(name) {
return ('' + name)
.toLowerCase()
.replace(/\s/g, '-')
.replace(/[^a-z0-9\-\.]/gi, '')
.replace(/\:/g, '');
}