migrate dashboard:milestones:show to static bundle

This commit is contained in:
Mike Greiling 2018-02-02 16:11:14 -06:00
parent 5fa3bd1787
commit feb86d49b0
No known key found for this signature in database
GPG key ID: 0303DF507FA67596
2 changed files with 2 additions and 7 deletions

View file

@ -53,11 +53,6 @@ var Dispatcher;
case 'projects:issues:show':
shortcut_handler = true;
break;
case 'dashboard:milestones:show':
import('./pages/dashboard/milestones/show')
.then(callDefault)
.catch(fail);
break;
case 'dashboard:issues':
import('./pages/dashboard/issues')
.then(callDefault)

View file

@ -1,7 +1,7 @@
import Milestone from '~/milestone';
import Sidebar from '~/right_sidebar';
export default () => {
document.addEventListener('DOMContentLoaded', () => {
new Milestone(); // eslint-disable-line no-new
new Sidebar(); // eslint-disable-line no-new
};
});