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:
authorRegis <boudinot.regis@yahoo.com>2016-10-26 21:47:35 +0300
committerRegis <boudinot.regis@yahoo.com>2016-10-26 21:47:35 +0300
commite1ad87c70d10c6a329586c8553442e69e258fff2 (patch)
treebf87390697328504d9895fe7650ee7991e3bfc5c /app/views/projects/pipelines/index.html.haml
parentd858c54879c61afde2df07e96e31c96b8a9f9586 (diff)
follow eslint in HAML file as well
Diffstat (limited to 'app/views/projects/pipelines/index.html.haml')
-rw-r--r--app/views/projects/pipelines/index.html.haml11
1 files changed, 4 insertions, 7 deletions
diff --git a/app/views/projects/pipelines/index.html.haml b/app/views/projects/pipelines/index.html.haml
index 8bd9afd05ce..c6f0ab87f8d 100644
--- a/app/views/projects/pipelines/index.html.haml
+++ b/app/views/projects/pipelines/index.html.haml
@@ -57,20 +57,17 @@
= paginate @pipelines, theme: 'gitlab'
:javascript
- var VuePipeLines = gl.VuePipeLines
- var VuePipeLine = gl.VuePipeLine
-
- Vue.component('vue-pipelines', VuePipeLines)
- Vue.component('vue-pipeline', VuePipeLine)
+ Vue.component('vue-pipelines', gl.VuePipeLines);
+ Vue.component('vue-pipeline', gl.VuePipeLine);
new Vue({
el: ".app",
data:{
pipelines: JSON.parse('#{@pipelines.to_json}'),
- count: JSON.parse('#{@pipeline_count.to_json}')
+ count: JSON.parse('#{@pipeline_count.to_json}'),
},
template: ""
+ "<div>"
+ "<vue-pipelines :pipelines='pipelines' :count='count'></vue-pipelines>"
- + "</div>"
+ + "</div>",
})