BigW Consortium Gitlab

Commit e1ad87c7 by Regis

follow eslint in HAML file as well

parent d858c548
...@@ -57,20 +57,17 @@ ...@@ -57,20 +57,17 @@
= paginate @pipelines, theme: 'gitlab' = paginate @pipelines, theme: 'gitlab'
:javascript :javascript
var VuePipeLines = gl.VuePipeLines Vue.component('vue-pipelines', gl.VuePipeLines);
var VuePipeLine = gl.VuePipeLine Vue.component('vue-pipeline', gl.VuePipeLine);
Vue.component('vue-pipelines', VuePipeLines)
Vue.component('vue-pipeline', VuePipeLine)
new Vue({ new Vue({
el: ".app", el: ".app",
data:{ data:{
pipelines: JSON.parse('#{@pipelines.to_json}'), pipelines: JSON.parse('#{@pipelines.to_json}'),
count: JSON.parse('#{@pipeline_count.to_json}') count: JSON.parse('#{@pipeline_count.to_json}'),
}, },
template: "" template: ""
+ "<div>" + "<div>"
+ "<vue-pipelines :pipelines='pipelines' :count='count'></vue-pipelines>" + "<vue-pipelines :pipelines='pipelines' :count='count'></vue-pipelines>"
+ "</div>" + "</div>",
}) })
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment