Commit 6bf0bd0f authored by Regis's avatar Regis

no space for requires - all consistent syntax = change if logic for index.js.es6

parent fc026c8a
/* global Vue, VueResource, gl */ /* global Vue, VueResource, gl */
/* eslint-disable no-bitwise, no-plusplus*/ /* eslint-disable no-bitwise, no-plusplus*/
/*= require vue_common_component/commit */ /*= require vue_common_component/commit */
/*= require vue-resource
//= require vue-resource
/*= require boards/vue_resource_interceptor */ /*= require boards/vue_resource_interceptor */
/*= require ./status.js.es6 */
//= require ./status.js.es6 /*= require ./store.js.es6 */
//= require ./store.js.es6 /*= require ./pipeline_url.js.es6 */
//= require ./pipeline_url.js.es6 /*= require ./pipeline_head.js.es6 */
//= require ./pipeline_head.js.es6 /*= require ./stage.js.es6 */
//= require ./stage.js.es6 /*= require ./stages.js.es6 */
//= require ./stages.js.es6 /*= require ./pipeline_actions.js.es6 */
//= require ./pipeline_actions.js.es6 /*= require ./time_ago.js.es6 */
//= require ./time_ago.js.es6 /*= require ./pipelines.js.es6 */
//= require ./pipelines.js.es6
(() => { (() => {
const project = document.querySelector('.pipelines'); const project = document.querySelector('.pipelines');
...@@ -24,27 +20,24 @@ ...@@ -24,27 +20,24 @@
Vue.use(VueResource); Vue.use(VueResource);
if (entry) { if (!entry) return null;
return new Vue({ return new Vue({
el: entry, el: entry,
data: { data: {
scope: project.dataset.url, scope: project.dataset.url,
store: new gl.PipelineStore(), store: new gl.PipelineStore(),
svgs: svgs.dataset, svgs: svgs.dataset,
}, },
components: { components: {
'vue-pipelines': gl.VuePipelines, 'vue-pipelines': gl.VuePipelines,
}, },
template: ` template: `
<vue-pipelines <vue-pipelines
:scope='scope' :scope='scope'
:store='store' :store='store'
:svgs='svgs' :svgs='svgs'
> >
</vue-pipelines> </vue-pipelines>
`, `,
}); });
}
return null;
})(); })();
/* global gl, Flash */ /* global gl, Flash */
/* eslint-disable no-param-reassign, no-underscore-dangle */ /* eslint-disable no-param-reassign, no-underscore-dangle */
/*= require vue_realtime_listener/index.js */ /*= require vue_realtime_listener/index.js */
((gl) => { ((gl) => {
......
/* global Vue, gl */ /* global Vue, gl */
/* eslint-disable no-param-reassign */ /* eslint-disable no-param-reassign */
((gl) => { ((gl) => {
gl.VueTimeAgo = Vue.extend({ gl.VueTimeAgo = Vue.extend({
data() { data() {
......
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