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
a0ddcf3f
Commit
a0ddcf3f
authored
Jan 16, 2018
by
Simon Knox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add missing pages import for projects:compare:*
parent
1644c1ac
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
app/assets/javascripts/dispatcher.js
app/assets/javascripts/dispatcher.js
+3
-2
app/assets/javascripts/pages/projects/compare/index.js
app/assets/javascripts/pages/projects/compare/index.js
+5
-0
No files found.
app/assets/javascripts/dispatcher.js
View file @
a0ddcf3f
...
...
@@ -13,7 +13,6 @@ import Project from './project';
import
projectAvatar
from
'
./project_avatar
'
;
import
MergeRequest
from
'
./merge_request
'
;
import
Compare
from
'
./compare
'
;
import
initCompareAutocomplete
from
'
./compare_autocomplete
'
;
import
ProjectNew
from
'
./project_new
'
;
import
Labels
from
'
./labels
'
;
import
LabelManager
from
'
./label_manager
'
;
...
...
@@ -638,7 +637,9 @@ import Activities from './activities';
projectAvatar
();
switch
(
path
[
1
])
{
case
'
compare
'
:
initCompareAutocomplete
();
import
(
'
./pages/projects/compare
'
)
.
then
(
callDefault
)
.
catch
(
fail
);
break
;
case
'
edit
'
:
shortcut_handler
=
new
ShortcutsNavigation
();
...
...
app/assets/javascripts/pages/projects/compare/index.js
0 → 100644
View file @
a0ddcf3f
import
initCompareAutocomplete
from
'
./compare_autocomplete
'
;
export
default
()
=>
{
initCompareAutocomplete
();
};
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