2018-10-15 14:42:47 +05:30
|
|
|
import LineHighlighter from '~/line_highlighter';
|
|
|
|
import BlobViewer from '~/blob/viewer';
|
|
|
|
import ZenMode from '~/zen_mode';
|
|
|
|
import initNotes from '~/init_notes';
|
|
|
|
import snippetEmbed from '~/snippet/snippet_embed';
|
2018-03-17 18:26:18 +05:30
|
|
|
|
2018-03-27 19:54:05 +05:30
|
|
|
document.addEventListener('DOMContentLoaded', () => {
|
|
|
|
new LineHighlighter(); // eslint-disable-line no-new
|
|
|
|
new BlobViewer(); // eslint-disable-line no-new
|
2018-03-17 18:26:18 +05:30
|
|
|
initNotes();
|
2018-03-27 19:54:05 +05:30
|
|
|
new ZenMode(); // eslint-disable-line no-new
|
2018-10-15 14:42:47 +05:30
|
|
|
snippetEmbed();
|
2018-03-27 19:54:05 +05:30
|
|
|
});
|