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
Léo-Paul Géneau
gitlab-ce
Commits
6e0f420c
Commit
6e0f420c
authored
Feb 02, 2018
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
migrate explore:groups:index to static bundle
parent
754dc137
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
7 deletions
+2
-7
app/assets/javascripts/dispatcher.js
app/assets/javascripts/dispatcher.js
+0
-5
app/assets/javascripts/pages/explore/groups/index.js
app/assets/javascripts/pages/explore/groups/index.js
+2
-2
No files found.
app/assets/javascripts/dispatcher.js
View file @
6e0f420c
...
@@ -53,11 +53,6 @@ var Dispatcher;
...
@@ -53,11 +53,6 @@ var Dispatcher;
case
'
projects:issues:show
'
:
case
'
projects:issues:show
'
:
shortcut_handler
=
true
;
shortcut_handler
=
true
;
break
;
break
;
case
'
explore:groups:index
'
:
import
(
'
./pages/explore/groups
'
)
.
then
(
callDefault
)
.
catch
(
fail
);
break
;
case
'
projects:milestones:new
'
:
case
'
projects:milestones:new
'
:
case
'
projects:milestones:create
'
:
case
'
projects:milestones:create
'
:
import
(
'
./pages/projects/milestones/new
'
)
import
(
'
./pages/projects/milestones/new
'
)
...
...
app/assets/javascripts/pages/explore/groups/index.js
View file @
6e0f420c
...
@@ -2,7 +2,7 @@ import GroupsList from '~/groups_list';
...
@@ -2,7 +2,7 @@ import GroupsList from '~/groups_list';
import
Landing
from
'
~/landing
'
;
import
Landing
from
'
~/landing
'
;
import
initGroupsList
from
'
../../../groups
'
;
import
initGroupsList
from
'
../../../groups
'
;
export
default
function
()
{
document
.
addEventListener
(
'
DOMContentLoaded
'
,
()
=>
{
new
GroupsList
();
// eslint-disable-line no-new
new
GroupsList
();
// eslint-disable-line no-new
initGroupsList
();
initGroupsList
();
const
landingElement
=
document
.
querySelector
(
'
.js-explore-groups-landing
'
);
const
landingElement
=
document
.
querySelector
(
'
.js-explore-groups-landing
'
);
...
@@ -13,4 +13,4 @@ export default function () {
...
@@ -13,4 +13,4 @@ export default function () {
'
explore_groups_landing_dismissed
'
,
'
explore_groups_landing_dismissed
'
,
);
);
exploreGroupsLanding
.
toggle
();
exploreGroupsLanding
.
toggle
();
}
}
);
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