diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2017-02-25 03:55:47 +0300 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2017-02-25 03:55:47 +0300 |
commit | 70f7d77d342183a7efdaf50263b5b821f9fa53c8 (patch) | |
tree | 6df777c75ef0cf331a84ff24951aae52bd87b750 /app/assets/javascripts/lib | |
parent | d8ce9f3062bdcb1f69f6d47a912d446bf69d50b8 (diff) |
remove tech debt code
Diffstat (limited to 'app/assets/javascripts/lib')
-rw-r--r-- | app/assets/javascripts/lib/utils/common_utils.js.es6 | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/app/assets/javascripts/lib/utils/common_utils.js.es6 b/app/assets/javascripts/lib/utils/common_utils.js.es6 index 45a1d90a9d9..643c28dd046 100644 --- a/app/assets/javascripts/lib/utils/common_utils.js.es6 +++ b/app/assets/javascripts/lib/utils/common_utils.js.es6 @@ -247,17 +247,6 @@ }); /** - * Transforms a DOMStringMap into a plain object. - * - * @param {DOMStringMap} DOMStringMapObject - * @returns {Object} - */ - w.gl.utils.DOMStringMapToObject = DOMStringMapObject => Object.keys(DOMStringMapObject).reduce((acc, element) => { - acc[element] = DOMStringMapObject[element]; - return acc; - }, {}); - - /** * Updates the search parameter of a URL given the parameter and values provided. * * If no search params are present we'll add it. |