Commit 89fd1626 authored by Phil Hughes's avatar Phil Hughes

Added import for snippets:show in dispatcher

#41341
parent 7b2f9af4
...@@ -548,10 +548,7 @@ import Activities from './activities'; ...@@ -548,10 +548,7 @@ import Activities from './activities';
new UserCallout(); new UserCallout();
break; break;
case 'snippets:show': case 'snippets:show':
new LineHighlighter(); import('./pages/snippets/show').then(m => m.default()).catch(fail);
new BlobViewer();
initNotes();
new ZenMode();
break; break;
case 'import:fogbugz:new_user_map': case 'import:fogbugz:new_user_map':
new UsersSelect(); new UsersSelect();
......
/* eslint-disable no-new */
import LineHighlighter from '../../../line_highlighter';
import BlobViewer from '../../../blob/viewer';
import ZenMode from '../../../zen_mode';
import initNotes from '../../../init_notes';
export default () => {
new LineHighlighter();
new BlobViewer();
initNotes();
new ZenMode();
};
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