debian-mirror-gitlab/app/assets/javascripts/pages/projects/snippets/show/index.js

12 lines
381 B
JavaScript
Raw Normal View History

2018-03-17 18:26:18 +05:30
import initNotes from '~/init_notes';
import ZenMode from '~/zen_mode';
import LineHighlighter from '../../../../line_highlighter';
import BlobViewer from '../../../../blob/viewer';
export default function () {
new LineHighlighter(); // eslint-disable-line no-new
new BlobViewer(); // eslint-disable-line no-new
initNotes();
new ZenMode(); // eslint-disable-line no-new
}