Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2017-07-12 17:47:09 +0300
committerPhil Hughes <me@iamphill.com>2017-07-12 17:47:09 +0300
commitaaa78199c2408a05d81aa4ee3058e81bb732da16 (patch)
tree97146599b47da2f86a1701c6012f60103bad9352 /app/assets/javascripts/blob
parentfd692d10663e5d3c7dc0de9221d6231b7fbcc464 (diff)
Update vue-resource
Diffstat (limited to 'app/assets/javascripts/blob')
-rw-r--r--app/assets/javascripts/blob/notebook/index.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/javascripts/blob/notebook/index.js b/app/assets/javascripts/blob/notebook/index.js
index 36fe8a7184f..27312d718b0 100644
--- a/app/assets/javascripts/blob/notebook/index.js
+++ b/app/assets/javascripts/blob/notebook/index.js
@@ -51,8 +51,9 @@ export default () => {
methods: {
loadFile() {
this.$http.get(el.dataset.endpoint)
+ .then(response => response.json())
.then((res) => {
- this.json = res.json();
+ this.json = res;
this.loading = false;
})
.catch((e) => {