summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorPaul Slaughter <pslaughter@gitlab.com>2019-04-11 21:14:02 -0500
committerPaul Slaughter <pslaughter@gitlab.com>2019-04-12 08:46:00 -0500
commite42ecb1c07690a606c1eabb4c5a6f56725c586b7 (patch)
tree7f91dfd66917f0e9d5726949b7c099fd139ac1bc /app
parentc61fd077a42b1498dc82cc5fb17a0efcc9d758d5 (diff)
downloadgitlab-ce-e42ecb1c07690a606c1eabb4c5a6f56725c586b7.tar.gz
Remove slugify text utilityfe-remove-slugify
**Why?** This function was not being used and it's documentation was out of date.
Diffstat (limited to 'app')
-rw-r--r--app/assets/javascripts/lib/utils/text_utility.js7
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}