diff options
author | Constance Okoghenun <cokoghenun@gitlab.com> | 2018-02-08 17:37:43 +0300 |
---|---|---|
committer | Constance Okoghenun <cokoghenun@gitlab.com> | 2018-02-08 17:37:43 +0300 |
commit | 7959d46a892f90614306ba01f338bfc9009181fd (patch) | |
tree | a6a3ae9eff19d77e1d4601e25671dd60770a0edf /app/assets/javascripts/diff.js | |
parent | 36a301a3c9cbb788860b8c4b020b5095fd3a3363 (diff) |
Fixed typo, updated test, and removed commented code
Diffstat (limited to 'app/assets/javascripts/diff.js')
-rw-r--r-- | app/assets/javascripts/diff.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/assets/javascripts/diff.js b/app/assets/javascripts/diff.js index b26422ab725..3ab8f3ab7ad 100644 --- a/app/assets/javascripts/diff.js +++ b/app/assets/javascripts/diff.js @@ -72,7 +72,6 @@ export default class Diff { const view = file.data('view'); const params = { since, to, bottom, offset, unfold, view }; - // $.get(link, params, response => $target.parent().replaceWith(response)); axios.get(link, { params }) .then(({ data }) => $target.parent().replaceWith(data)) .catch(() => flash(__('An error occurred while loading diff'))); |