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
2bd4453c
Commit
2bd4453c
authored
Jan 08, 2018
by
Jacob Schatz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix eslint
parent
8d677bb1
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
13 deletions
+11
-13
app/assets/javascripts/dispatcher.js
app/assets/javascripts/dispatcher.js
+6
-8
app/assets/javascripts/pages/explore/groups/index.js
app/assets/javascripts/pages/explore/groups/index.js
+3
-3
app/assets/javascripts/pages/explore/projects/index.js
app/assets/javascripts/pages/explore/projects/index.js
+2
-2
No files found.
app/assets/javascripts/dispatcher.js
View file @
2bd4453c
...
@@ -38,12 +38,10 @@ import BindInOut from './behaviors/bind_in_out';
...
@@ -38,12 +38,10 @@ import BindInOut from './behaviors/bind_in_out';
import
SecretValues
from
'
./behaviors/secret_values
'
;
import
SecretValues
from
'
./behaviors/secret_values
'
;
import
DeleteModal
from
'
./branches/branches_delete_modal
'
;
import
DeleteModal
from
'
./branches/branches_delete_modal
'
;
import
Group
from
'
./group
'
;
import
Group
from
'
./group
'
;
import
GroupsList
from
'
./groups_list
'
;
import
ProjectsList
from
'
./projects_list
'
;
import
ProjectsList
from
'
./projects_list
'
;
import
setupProjectEdit
from
'
./project_edit
'
;
import
setupProjectEdit
from
'
./project_edit
'
;
import
MiniPipelineGraph
from
'
./mini_pipeline_graph_dropdown
'
;
import
MiniPipelineGraph
from
'
./mini_pipeline_graph_dropdown
'
;
import
BlobLinePermalinkUpdater
from
'
./blob/blob_line_permalink_updater
'
;
import
BlobLinePermalinkUpdater
from
'
./blob/blob_line_permalink_updater
'
;
import
Landing
from
'
./landing
'
;
import
BlobForkSuggestion
from
'
./blob/blob_fork_suggestion
'
;
import
BlobForkSuggestion
from
'
./blob/blob_fork_suggestion
'
;
import
UserCallout
from
'
./user_callout
'
;
import
UserCallout
from
'
./user_callout
'
;
import
ShortcutsWiki
from
'
./shortcuts_wiki
'
;
import
ShortcutsWiki
from
'
./shortcuts_wiki
'
;
...
@@ -218,7 +216,7 @@ import Activities from './activities';
...
@@ -218,7 +216,7 @@ import Activities from './activities';
case
'
explore:projects:trending
'
:
case
'
explore:projects:trending
'
:
case
'
explore:projects:starred
'
:
case
'
explore:projects:starred
'
:
import
(
'
./pages/explore/projects
'
)
import
(
'
./pages/explore/projects
'
)
.
then
(
module
=>
module
.
default
()
)
.
then
(
callDefault
)
.
catch
(
fail
);
.
catch
(
fail
);
break
;
break
;
case
'
dashboard:projects:index
'
:
case
'
dashboard:projects:index
'
:
...
@@ -228,7 +226,7 @@ import Activities from './activities';
...
@@ -228,7 +226,7 @@ import Activities from './activities';
break
;
break
;
case
'
explore:groups:index
'
:
case
'
explore:groups:index
'
:
import
(
'
./pages/explore/groups
'
)
import
(
'
./pages/explore/groups
'
)
.
then
(
module
=>
module
.
default
()
)
.
then
(
callDefault
)
.
catch
(
fail
);
.
catch
(
fail
);
break
;
break
;
case
'
projects:milestones:new
'
:
case
'
projects:milestones:new
'
:
...
@@ -498,8 +496,8 @@ import Activities from './activities';
...
@@ -498,8 +496,8 @@ import Activities from './activities';
break
;
break
;
case
'
projects:forks:new
'
:
case
'
projects:forks:new
'
:
import
(
/* webpackChunkName: 'project_fork' */
'
./project_fork
'
)
import
(
/* webpackChunkName: 'project_fork' */
'
./project_fork
'
)
.
then
(
fork
=>
fork
.
default
()
)
.
then
(
callDefault
)
.
catch
(
()
=>
{}
);
.
catch
(
fail
);
break
;
break
;
case
'
projects:artifacts:browse
'
:
case
'
projects:artifacts:browse
'
:
new
ShortcutsNavigation
();
new
ShortcutsNavigation
();
...
@@ -635,8 +633,8 @@ import Activities from './activities';
...
@@ -635,8 +633,8 @@ import Activities from './activities';
shortcut_handler
=
new
ShortcutsNavigation
();
shortcut_handler
=
new
ShortcutsNavigation
();
new
ProjectNew
();
new
ProjectNew
();
import
(
/* webpackChunkName: 'project_permissions' */
'
./projects/permissions
'
)
import
(
/* webpackChunkName: 'project_permissions' */
'
./projects/permissions
'
)
.
then
(
permissions
=>
permissions
.
default
()
)
.
then
(
callDefault
)
.
catch
(
()
=>
{}
);
.
catch
(
fail
);
break
;
break
;
case
'
new
'
:
case
'
new
'
:
new
ProjectNew
();
new
ProjectNew
();
...
...
app/assets/javascripts/pages/explore/groups/index.js
View file @
2bd4453c
import
GroupsList
from
'
~/groups_list
'
;
import
GroupsList
from
'
~/groups_list
'
;
import
Landing
from
'
~/landing
'
;
import
Landing
from
'
~/landing
'
;
export
default
function
()
{
export
default
function
()
{
new
GroupsList
();
new
GroupsList
();
// eslint-disable-line no-new
const
landingElement
=
document
.
querySelector
(
'
.js-explore-groups-landing
'
);
const
landingElement
=
document
.
querySelector
(
'
.js-explore-groups-landing
'
);
if
(
!
landingElement
)
return
;
if
(
!
landingElement
)
return
;
const
exploreGroupsLanding
=
new
Landing
(
const
exploreGroupsLanding
=
new
Landing
(
landingElement
,
landingElement
,
landingElement
.
querySelector
(
'
.dismiss-button
'
),
landingElement
.
querySelector
(
'
.dismiss-button
'
),
'
explore_groups_landing_dismissed
'
'
explore_groups_landing_dismissed
'
,
);
);
exploreGroupsLanding
.
toggle
();
exploreGroupsLanding
.
toggle
();
}
}
app/assets/javascripts/pages/explore/projects/index.js
View file @
2bd4453c
import
ProjectsList
from
'
~/projects_list
'
;
import
ProjectsList
from
'
~/projects_list
'
;
export
default
function
()
{
export
default
function
()
{
new
ProjectsList
();
new
ProjectsList
();
// 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