Commit c333a4ec authored by Kosuru Varun Kumar's avatar Kosuru Varun Kumar

change in event_hub.js

parent c33eac31
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