fix(client): proper link to the guide for a hint button

This commit is contained in:
Valeriy
2019-01-15 01:44:42 +03:00
committed by Stuart Taylor
parent 9b75c1965a
commit 261b1e197f
4 changed files with 11 additions and 21 deletions

View File

@@ -2,9 +2,7 @@ exports.dasherize = function dasherize(name) {
return ('' + name)
.toLowerCase()
.replace(/\s/g, '-')
.replace(/[^a-z0-9\-.]/gi, '')
.replace(/\./g, '-')
.replace(/:/g, '');
.replace(/[^a-z0-9\-.]/gi, '');
};
exports.nameify = function nameify(str) {