gitlab-org--gitlab-foss/app/assets/javascripts/vue_merge_request_widget/index.js
2017-05-09 04:15:34 +00:00

12 lines
222 B
JavaScript

import {
Vue,
mrWidgetOptions,
} from './dependencies';
document.addEventListener('DOMContentLoaded', () => {
const vm = new Vue(mrWidgetOptions);
window.gl.mrWidget = {
checkStatus: vm.checkStatus,
};
});