Welcome to mirror list, hosted at ThFree Co, Russian Federation.

index.js « vue_merge_request_widget « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: cd65ac069c5c4324498606826c503f4dac8665de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import {
  Vue,
  mrWidgetOptions,
} from './dependencies';

document.addEventListener('DOMContentLoaded', () => {
  const vm = new Vue(mrWidgetOptions);

  window.gl.mrWidget = {
    checkStatus: vm.checkStatus,
  };
});