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

timeline.js « notes « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: df6d1b2140005a6883185c5b44c5af9150422314 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import Vue from 'vue';
import TimelineToggle from './components/timeline_toggle.vue';

export default function initTimelineToggle(store) {
  const el = document.getElementById('js-incidents-timeline-toggle');

  if (!el) return null;

  return new Vue({
    el,
    store,
    render(createElement) {
      return createElement(TimelineToggle);
    },
  });
}