debian-mirror-gitlab/app/assets/javascripts/pages/projects/snippets/show/index.js
2018-03-27 19:54:05 +05:30

11 lines
408 B
JavaScript

import initNotes from '~/init_notes';
import ZenMode from '~/zen_mode';
import LineHighlighter from '../../../../line_highlighter';
import BlobViewer from '../../../../blob/viewer';
document.addEventListener('DOMContentLoaded', () => {
new LineHighlighter(); // eslint-disable-line no-new
new BlobViewer(); // eslint-disable-line no-new
initNotes();
new ZenMode(); // eslint-disable-line no-new
});