Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
2bd4453c
G
gitlab-foss
项目概览
李少辉-开发者
/
gitlab-foss
通知
15
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
gitlab-foss
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
2bd4453c
编写于
1月 08, 2018
作者:
J
Jacob Schatz
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix eslint
上级
8d677bb1
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
11 addition
and
13 deletion
+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
未找到文件。
app/assets/javascripts/dispatcher.js
浏览文件 @
2bd4453c
...
...
@@ -38,12 +38,10 @@ import BindInOut from './behaviors/bind_in_out';
import
SecretValues
from
'
./behaviors/secret_values
'
;
import
DeleteModal
from
'
./branches/branches_delete_modal
'
;
import
Group
from
'
./group
'
;
import
GroupsList
from
'
./groups_list
'
;
import
ProjectsList
from
'
./projects_list
'
;
import
setupProjectEdit
from
'
./project_edit
'
;
import
MiniPipelineGraph
from
'
./mini_pipeline_graph_dropdown
'
;
import
BlobLinePermalinkUpdater
from
'
./blob/blob_line_permalink_updater
'
;
import
Landing
from
'
./landing
'
;
import
BlobForkSuggestion
from
'
./blob/blob_fork_suggestion
'
;
import
UserCallout
from
'
./user_callout
'
;
import
ShortcutsWiki
from
'
./shortcuts_wiki
'
;
...
...
@@ -218,7 +216,7 @@ import Activities from './activities';
case
'
explore:projects:trending
'
:
case
'
explore:projects:starred
'
:
import
(
'
./pages/explore/projects
'
)
.
then
(
module
=>
module
.
default
()
)
.
then
(
callDefault
)
.
catch
(
fail
);
break
;
case
'
dashboard:projects:index
'
:
...
...
@@ -228,7 +226,7 @@ import Activities from './activities';
break
;
case
'
explore:groups:index
'
:
import
(
'
./pages/explore/groups
'
)
.
then
(
module
=>
module
.
default
()
)
.
then
(
callDefault
)
.
catch
(
fail
);
break
;
case
'
projects:milestones:new
'
:
...
...
@@ -498,8 +496,8 @@ import Activities from './activities';
break
;
case
'
projects:forks:new
'
:
import
(
/* webpackChunkName: 'project_fork' */
'
./project_fork
'
)
.
then
(
fork
=>
fork
.
default
()
)
.
catch
(
()
=>
{}
);
.
then
(
callDefault
)
.
catch
(
fail
);
break
;
case
'
projects:artifacts:browse
'
:
new
ShortcutsNavigation
();
...
...
@@ -635,8 +633,8 @@ import Activities from './activities';
shortcut_handler
=
new
ShortcutsNavigation
();
new
ProjectNew
();
import
(
/* webpackChunkName: 'project_permissions' */
'
./projects/permissions
'
)
.
then
(
permissions
=>
permissions
.
default
()
)
.
catch
(
()
=>
{}
);
.
then
(
callDefault
)
.
catch
(
fail
);
break
;
case
'
new
'
:
new
ProjectNew
();
...
...
app/assets/javascripts/pages/explore/groups/index.js
浏览文件 @
2bd4453c
import
GroupsList
from
'
~/groups_list
'
;
import
Landing
from
'
~/landing
'
;
export
default
function
()
{
new
GroupsList
();
export
default
function
()
{
new
GroupsList
();
// eslint-disable-line no-new
const
landingElement
=
document
.
querySelector
(
'
.js-explore-groups-landing
'
);
if
(
!
landingElement
)
return
;
const
exploreGroupsLanding
=
new
Landing
(
landingElement
,
landingElement
.
querySelector
(
'
.dismiss-button
'
),
'
explore_groups_landing_dismissed
'
'
explore_groups_landing_dismissed
'
,
);
exploreGroupsLanding
.
toggle
();
}
app/assets/javascripts/pages/explore/projects/index.js
浏览文件 @
2bd4453c
import
ProjectsList
from
'
~/projects_list
'
;
export
default
function
()
{
new
ProjectsList
();
export
default
function
()
{
new
ProjectsList
();
// eslint-disable-line no-new
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录