Commit af7402ea authored by Alfredo Sumaran's avatar Alfredo Sumaran

Merge branch 'remove-require-context-diff-notes-bundle' into 'master'

Remove require.context from diff_notes_bundle

See merge request !9394
parents 7273745e 8ba08213
/* eslint-disable func-names, comma-dangle, new-cap, no-new, import/newline-after-import, no-multi-spaces, max-len */ /* eslint-disable func-names, comma-dangle, new-cap, no-new, max-len */
/* global Vue */ /* global Vue */
/* global ResolveCount */ /* global ResolveCount */
function requireAll(context) { return context.keys().map(context); }
const Vue = require('vue'); const Vue = require('vue');
requireAll(require.context('./models', false, /^\.\/.*\.(js|es6)$/)); require('./models/discussion');
requireAll(require.context('./stores', false, /^\.\/.*\.(js|es6)$/)); require('./models/note');
requireAll(require.context('./services', false, /^\.\/.*\.(js|es6)$/)); require('./stores/comments');
requireAll(require.context('./mixins', false, /^\.\/.*\.(js|es6)$/)); require('./services/resolve');
requireAll(require.context('./components', false, /^\.\/.*\.(js|es6)$/)); require('./mixins/discussion');
require('./components/comment_resolve_btn');
require('./components/jump_to_discussion');
require('./components/resolve_btn');
require('./components/resolve_count');
require('./components/resolve_discussion_btn');
$(() => { $(() => {
const projectPath = document.querySelector('.merge-request').dataset.projectPath; const projectPath = document.querySelector('.merge-request').dataset.projectPath;
......
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