debian-mirror-gitlab/app/assets/javascripts/mr_tabs_popover/index.js
2020-01-01 13:55:28 +05:30

12 lines
299 B
JavaScript

import Vue from 'vue';
import Popover from './components/popover.vue';
export default el =>
new Vue({
el,
render(createElement) {
return createElement(Popover, {
props: { dismissEndpoint: el.dataset.dismissEndpoint, featureId: el.dataset.featureId },
});
},
});