Commit 7c02b439 authored by Jannik Lehmann's avatar Jannik Lehmann

Remove obsolete DOMContentLoadedEventListener

parent 4c9f18d1
import Vue from 'vue'; import Vue from 'vue';
import ForkGroupsList from './components/fork_groups_list.vue'; import ForkGroupsList from './components/fork_groups_list.vue';
document.addEventListener('DOMContentLoaded', () => { const mountElement = document.getElementById('fork-groups-mount-element');
const mountElement = document.getElementById('fork-groups-mount-element'); const { endpoint } = mountElement.dataset;
// eslint-disable-next-line no-new
const { endpoint } = mountElement.dataset; new Vue({
el: mountElement,
return new Vue({ render(h) {
el: mountElement, return h(ForkGroupsList, {
render(h) { props: {
return h(ForkGroupsList, { endpoint,
props: { },
endpoint, });
}, },
});
},
});
}); });
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