Commit d163f906 authored by Mike Greiling's avatar Mike Greiling

migrate projects:milestones:show to static bundle

parent d9b299ac
...@@ -53,11 +53,6 @@ var Dispatcher; ...@@ -53,11 +53,6 @@ var Dispatcher;
case 'projects:issues:show': case 'projects:issues:show':
shortcut_handler = true; shortcut_handler = true;
break; break;
case 'projects:milestones:show':
import('./pages/projects/milestones/show')
.then(callDefault)
.catch(fail);
break;
case 'groups:milestones:show': case 'groups:milestones:show':
import('./pages/groups/milestones/show') import('./pages/groups/milestones/show')
.then(callDefault) .then(callDefault)
......
import initMilestonesShow from '~/pages/milestones/shared/init_milestones_show'; import initMilestonesShow from '~/pages/milestones/shared/init_milestones_show';
import milestones from '~/pages/milestones/shared'; import milestones from '~/pages/milestones/shared';
export default () => { document.addEventListener('DOMContentLoaded', () => {
initMilestonesShow(); initMilestonesShow();
milestones(); milestones();
}; });
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