Commit 77fc4324 authored by Natalia Tepluhina's avatar Natalia Tepluhina

Merge branch 'migrating-event-hub-to-mitt' into 'master'

Migrating  from Vue event hub to mitt

See merge request gitlab-org/gitlab!41160
parents 05947b5a c333a4ec
import Vue from 'vue';
import createEventHub from '~/helpers/event_hub_factory';
const eventHub = new Vue();
const eventHub = createEventHub();
// TODO: remove eventHub hack after code splitting refactor
window.emitSidebarEvent = (...args) => eventHub.$emit(...args);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment