2018-10-25 15:20:29 +00:00
|
|
|
import Vue from 'vue';
|
|
|
|
import MrWidgetOptions from './ee_switch_mr_widget_options';
|
2018-01-18 16:29:27 +00:00
|
|
|
import Translate from '../vue_shared/translate';
|
|
|
|
|
|
|
|
Vue.use(Translate);
|
2017-05-09 04:15:34 +00:00
|
|
|
|
2018-02-26 16:05:24 +00:00
|
|
|
export default () => {
|
2017-05-26 14:37:09 +00:00
|
|
|
gl.mrWidgetData.gitlabLogo = gon.gitlab_logo;
|
|
|
|
|
2018-10-25 15:20:29 +00:00
|
|
|
const vm = new Vue(MrWidgetOptions);
|
2017-05-09 04:15:34 +00:00
|
|
|
|
|
|
|
window.gl.mrWidget = {
|
|
|
|
checkStatus: vm.checkStatus,
|
|
|
|
};
|
2018-02-26 16:05:24 +00:00
|
|
|
};
|