diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2019-04-12 14:52:03 +0000 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2019-04-12 14:52:03 +0000 |
commit | 7728212b050d121833b2709e2eac46a766001a9e (patch) | |
tree | a99a47e774c34cab2153ba3679d003300238c538 /app | |
parent | 539ac2589966c77d50249a80c08285f1acf9c024 (diff) | |
parent | e42ecb1c07690a606c1eabb4c5a6f56725c586b7 (diff) | |
download | gitlab-ce-7728212b050d121833b2709e2eac46a766001a9e.tar.gz |
Merge branch 'fe-remove-slugify' into 'master'
Remove slugify text utility
See merge request gitlab-org/gitlab-ce!27290
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/javascripts/lib/utils/text_utility.js | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/app/assets/javascripts/lib/utils/text_utility.js b/app/assets/javascripts/lib/utils/text_utility.js index 1b7f8732c65..3f5fc5dd306 100644 --- a/app/assets/javascripts/lib/utils/text_utility.js +++ b/app/assets/javascripts/lib/utils/text_utility.js @@ -44,13 +44,6 @@ export const pluralize = (str, count) => str + (count > 1 || count === 0 ? 's' : export const dasherize = str => str.replace(/[_\s]+/g, '-'); /** - * Removes accents and converts to lower case - * @param {String} str - * @returns {String} - */ -export const slugify = str => str.trim().toLowerCase(); - -/** * Replaces whitespaces with hyphens and converts to lower case * @param {String} str * @returns {String} |