Commit c594ed49 authored by Mike Greiling's avatar Mike Greiling

update diff_notes_bundle to ES module syntax

parent 4322d3c2
...@@ -2,19 +2,18 @@ ...@@ -2,19 +2,18 @@
/* global ResolveCount */ /* global ResolveCount */
import Vue from 'vue'; import Vue from 'vue';
import './models/discussion';
require('./models/discussion'); import './models/note';
require('./models/note'); import './stores/comments';
require('./stores/comments'); import './services/resolve';
require('./services/resolve'); import './mixins/discussion';
require('./mixins/discussion'); import './components/comment_resolve_btn';
require('./components/comment_resolve_btn'); import './components/jump_to_discussion';
require('./components/jump_to_discussion'); import './components/resolve_btn';
require('./components/resolve_btn'); import './components/resolve_count';
require('./components/resolve_count'); import './components/resolve_discussion_btn';
require('./components/resolve_discussion_btn'); import './components/diff_note_avatars';
require('./components/diff_note_avatars'); import './components/new_issue_for_discussion';
require('./components/new_issue_for_discussion');
$(() => { $(() => {
const projectPath = document.querySelector('.merge-request').dataset.projectPath; const projectPath = document.querySelector('.merge-request').dataset.projectPath;
......
...@@ -3,11 +3,7 @@ ...@@ -3,11 +3,7 @@
/* global CommentsStore */ /* global CommentsStore */
import Vue from 'vue'; import Vue from 'vue';
import VueResource from 'vue-resource'; import '../../vue_shared/vue_resource_interceptor';
require('../../vue_shared/vue_resource_interceptor');
Vue.use(VueResource);
window.gl = window.gl || {}; window.gl = window.gl || {};
......
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