debian-mirror-gitlab/app/assets/javascripts/sidebar/sidebar_bundle.js

10 lines
238 B
JavaScript
Raw Normal View History

2017-08-17 22:00:37 +05:30
import Mediator from './sidebar_mediator';
2018-03-17 18:26:18 +05:30
import { mountSidebar, getSidebarOptions } from './mount_sidebar';
2017-08-17 22:00:37 +05:30
2018-03-27 19:54:05 +05:30
export default () => {
2018-03-17 18:26:18 +05:30
const mediator = new Mediator(getSidebarOptions());
2017-08-17 22:00:37 +05:30
mediator.fetch();
2018-03-17 18:26:18 +05:30
mountSidebar(mediator);
2018-03-27 19:54:05 +05:30
};