diff options
author | Tim Zallmann <tzallmann@gitlab.com> | 2018-03-25 20:05:54 +0200 |
---|---|---|
committer | Tim Zallmann <tzallmann@gitlab.com> | 2018-03-28 12:17:02 +0200 |
commit | f00a971a6da0407d7df2f4d8d2905a711a437b4d (patch) | |
tree | 023b300bd5aaea822f79ef87076e847f1447895d /app/assets/javascripts/ide/services | |
parent | fa3b02413b356d47fa75bab193e4d323e6db416a (diff) | |
download | gitlab-ce-f00a971a6da0407d7df2f4d8d2905a711a437b4d.tar.gz |
ESLint + Karma fixes
Diffstat (limited to 'app/assets/javascripts/ide/services')
-rw-r--r-- | app/assets/javascripts/ide/services/index.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/app/assets/javascripts/ide/services/index.js b/app/assets/javascripts/ide/services/index.js index b86a20e6abf..6e6ebf3169f 100644 --- a/app/assets/javascripts/ide/services/index.js +++ b/app/assets/javascripts/ide/services/index.js @@ -1,7 +1,6 @@ import Vue from 'vue'; import VueResource from 'vue-resource'; import Api from '~/api'; -import { version } from 'punycode'; Vue.use(VueResource); @@ -21,9 +20,7 @@ export default { return Promise.resolve(file.raw); } - return Vue.http - .get(file.rawPath, { params: { format: 'json' } }) - .then(res => res.text()); + return Vue.http.get(file.rawPath, { params: { format: 'json' } }).then(res => res.text()); }, getBaseRawFileData(file, sha) { if (file.tempFile) { |