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
33993385
Commit
33993385
authored
Feb 01, 2018
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
migrate projects:merge_requests:index to static bundle
parent
bfdc81e9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
app/assets/javascripts/dispatcher.js
app/assets/javascripts/dispatcher.js
+0
-3
app/assets/javascripts/pages/projects/merge_requests/index/index.js
.../javascripts/pages/projects/merge_requests/index/index.js
+2
-2
No files found.
app/assets/javascripts/dispatcher.js
View file @
33993385
...
@@ -55,9 +55,6 @@ import SearchAutocomplete from './search_autocomplete';
...
@@ -55,9 +55,6 @@ import SearchAutocomplete from './search_autocomplete';
.
catch
(
fail
);
.
catch
(
fail
);
break
;
break
;
case
'
projects:merge_requests:index
'
:
case
'
projects:merge_requests:index
'
:
import
(
'
./pages/projects/merge_requests/index
'
)
.
then
(
callDefault
)
.
catch
(
fail
);
shortcut_handler
=
true
;
shortcut_handler
=
true
;
break
;
break
;
case
'
projects:issues:index
'
:
case
'
projects:issues:index
'
:
...
...
app/assets/javascripts/pages/projects/merge_requests/index/index.js
View file @
33993385
...
@@ -5,9 +5,9 @@ import initFilteredSearch from '~/pages/search/init_filtered_search';
...
@@ -5,9 +5,9 @@ import initFilteredSearch from '~/pages/search/init_filtered_search';
import
{
FILTERED_SEARCH
}
from
'
~/pages/constants
'
;
import
{
FILTERED_SEARCH
}
from
'
~/pages/constants
'
;
import
{
ISSUABLE_INDEX
}
from
'
~/pages/projects/constants
'
;
import
{
ISSUABLE_INDEX
}
from
'
~/pages/projects/constants
'
;
export
default
()
=>
{
document
.
addEventListener
(
'
DOMContentLoaded
'
,
()
=>
{
initFilteredSearch
(
FILTERED_SEARCH
.
MERGE_REQUESTS
);
initFilteredSearch
(
FILTERED_SEARCH
.
MERGE_REQUESTS
);
new
IssuableIndex
(
ISSUABLE_INDEX
.
MERGE_REQUEST
);
// eslint-disable-line no-new
new
IssuableIndex
(
ISSUABLE_INDEX
.
MERGE_REQUEST
);
// eslint-disable-line no-new
new
ShortcutsNavigation
();
// eslint-disable-line no-new
new
ShortcutsNavigation
();
// eslint-disable-line no-new
new
UsersSelect
();
// eslint-disable-line no-new
new
UsersSelect
();
// eslint-disable-line no-new
};
}
)
;
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