issues
search
dodo
/
node-slug
slugifies even utf-8 chars!
MIT License
1.08k
stars
92
forks
source link
Chaining methods instead of multiple assignations
#50
Open
Javascipt
opened
8 years ago
Javascipt
commented
8 years ago
The two changes I made are :
Chaining the
.replace()
methode to make only one assignation
Testing the
opts.lower
on the return statement to avoid another assignation
The two changes I made are :
.replace()
methode to make only one assignationopts.lower
on the return statement to avoid another assignation