Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
c594ed49
Commit
c594ed49
authored
May 16, 2017
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update diff_notes_bundle to ES module syntax
parent
4322d3c2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
18 deletions
+13
-18
app/assets/javascripts/diff_notes/diff_notes_bundle.js
app/assets/javascripts/diff_notes/diff_notes_bundle.js
+12
-13
app/assets/javascripts/diff_notes/services/resolve.js
app/assets/javascripts/diff_notes/services/resolve.js
+1
-5
No files found.
app/assets/javascripts/diff_notes/diff_notes_bundle.js
View file @
c594ed49
...
@@ -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
;
...
...
app/assets/javascripts/diff_notes/services/resolve.js
View file @
c594ed49
...
@@ -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
||
{};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment