2018-12-05 23:21:45 +05:30
|
|
|
import { Vue, mrWidgetOptions } from './dependencies';
|
2018-03-17 18:26:18 +05:30
|
|
|
import Translate from '../vue_shared/translate';
|
|
|
|
|
|
|
|
Vue.use(Translate);
|
2017-08-17 22:00:37 +05:30
|
|
|
|
2018-03-27 19:54:05 +05:30
|
|
|
export default () => {
|
2017-08-17 22:00:37 +05:30
|
|
|
gl.mrWidgetData.gitlabLogo = gon.gitlab_logo;
|
|
|
|
|
|
|
|
const vm = new Vue(mrWidgetOptions);
|
|
|
|
|
|
|
|
window.gl.mrWidget = {
|
|
|
|
checkStatus: vm.checkStatus,
|
|
|
|
};
|
2018-03-27 19:54:05 +05:30
|
|
|
};
|