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

environments_bundle.js.es6 « environments « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9f24a6a4f88ac63abd98b7ad7e450a1f08b8b4e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//= require vue
//= require_tree ./stores/
//= require ./components/environment
//= require ./vue_resource_interceptor


$(() => {
  window.gl = window.gl || {};

  if (gl.EnvironmentsListApp) {
    gl.EnvironmentsListApp.$destroy(true);
  }
  const Store = gl.environmentsList.EnvironmentsStore;

  gl.EnvironmentsListApp = new gl.environmentsList.EnvironmentsComponent({
    el: document.querySelector('#environments-list-view'),

    propsData: {
      store: Store.create(),
    },

  });
});