2017-05-04 08:11:15 -04:00
|
|
|
import Vue from 'vue';
|
|
|
|
|
2017-05-09 09:43:08 -04:00
|
|
|
const eventHub = new Vue();
|
|
|
|
|
|
|
|
// TODO: remove eventHub hack after code splitting refactor
|
|
|
|
window.emitSidebarEvent = (...args) => eventHub.$emit(...args);
|
|
|
|
|
|
|
|
export default eventHub;
|