diff options
author | Phil Hughes <me@iamphill.com> | 2018-02-01 12:14:53 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2018-02-01 12:14:53 +0300 |
commit | 4377b4795fedcb5145d76fab09ccd468ce3a2138 (patch) | |
tree | 2d23d392616747a5996c11a2a689bc49e6cec9b6 /app/assets/javascripts/lib | |
parent | 988747df49d9441f539c51efd6f808f77173c3e0 (diff) |
remove useless ajaxPost method
Diffstat (limited to 'app/assets/javascripts/lib')
-rw-r--r-- | app/assets/javascripts/lib/utils/common_utils.js | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/app/assets/javascripts/lib/utils/common_utils.js b/app/assets/javascripts/lib/utils/common_utils.js index c27c4c6e621..5811d059e0b 100644 --- a/app/assets/javascripts/lib/utils/common_utils.js +++ b/app/assets/javascripts/lib/utils/common_utils.js @@ -35,8 +35,6 @@ export const ajaxGet = url => axios.get(url, { $.globalEval(data); }); -export const ajaxPost = (url, data) => axios.post(url, data); - export const rstrip = (val) => { if (val) { return val.replace(/\s+$/, ''); @@ -409,7 +407,6 @@ window.gl.utils = { getGroupSlug, isInIssuePage, ajaxGet, - ajaxPost, rstrip, updateTooltipTitle, disableButtonIfEmptyField, |