Commit 20d428ea authored by Mike Greiling's avatar Mike Greiling

migrate snippets:show to static bundle

parent afbb9308
...@@ -294,11 +294,6 @@ var Dispatcher; ...@@ -294,11 +294,6 @@ var Dispatcher;
.then(callDefault) .then(callDefault)
.catch(fail); .catch(fail);
break; break;
case 'snippets:show':
import('./pages/snippets/show')
.then(callDefault)
.catch(fail);
break;
case 'import:fogbugz:new_user_map': case 'import:fogbugz:new_user_map':
import('./pages/import/fogbugz/new_user_map') import('./pages/import/fogbugz/new_user_map')
.then(callDefault) .then(callDefault)
......
/* eslint-disable no-new */
import LineHighlighter from '../../../line_highlighter'; import LineHighlighter from '../../../line_highlighter';
import BlobViewer from '../../../blob/viewer'; import BlobViewer from '../../../blob/viewer';
import ZenMode from '../../../zen_mode'; import ZenMode from '../../../zen_mode';
import initNotes from '../../../init_notes'; import initNotes from '../../../init_notes';
export default () => { document.addEventListener('DOMContentLoaded', () => {
new LineHighlighter(); new LineHighlighter(); // eslint-disable-line no-new
new BlobViewer(); new BlobViewer(); // eslint-disable-line no-new
initNotes(); initNotes();
new ZenMode(); new ZenMode(); // eslint-disable-line no-new
}; });
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