Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
3ef346bc
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,发现更多精彩内容 >>
提交
3ef346bc
编写于
1月 08, 2018
作者:
J
Jacob Schatz
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Finishes dispatcher `projects:a*` stuff.
上级
a9a858e0
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
22 addition
and
5 deletion
+22
-5
app/assets/javascripts/dispatcher.js
app/assets/javascripts/dispatcher.js
+8
-5
app/assets/javascripts/pages/projects/artifacts/browse/index.js
...sets/javascripts/pages/projects/artifacts/browse/index.js
+7
-0
app/assets/javascripts/pages/projects/artifacts/file/index.js
...assets/javascripts/pages/projects/artifacts/file/index.js
+7
-0
未找到文件。
app/assets/javascripts/dispatcher.js
浏览文件 @
3ef346bc
...
...
@@ -12,7 +12,6 @@ import notificationsDropdown from './notifications_dropdown';
import
groupAvatar
from
'
./group_avatar
'
;
import
GroupLabelSubscription
from
'
./group_label_subscription
'
;
import
LineHighlighter
from
'
./line_highlighter
'
;
import
BuildArtifacts
from
'
./build_artifacts
'
;
import
CILintEditor
from
'
./ci_lint_editor
'
;
import
groupsSelect
from
'
./groups_select
'
;
import
Search
from
'
./search
'
;
...
...
@@ -506,12 +505,16 @@ import Activities from './activities';
.
catch
(()
=>
{});
break
;
case
'
projects:artifacts:browse
'
:
new
ShortcutsNavigation
();
new
BuildArtifacts
();
import
(
'
./pages/projects/artifacts/browse
'
)
.
then
(
callDefault
)
.
catch
(
fail
);
shortcut_handler
=
true
;
break
;
case
'
projects:artifacts:file
'
:
new
ShortcutsNavigation
();
new
BlobViewer
();
import
(
'
./pages/projects/artifacts/file
'
)
.
then
(
callDefault
)
.
catch
(
fail
);
shortcut_handler
=
true
;
break
;
case
'
help:index
'
:
VersionCheckImage
.
bindErrorEvent
(
$
(
'
img.js-version-status-badge
'
));
...
...
app/assets/javascripts/pages/projects/artifacts/browse/index.js
0 → 100644
浏览文件 @
3ef346bc
import
BuildArtifacts
from
'
~/build_artifacts
'
;
import
ShortcutsNavigation
from
'
~/shortcuts_navigation
'
;
export
default
function
()
{
new
ShortcutsNavigation
();
// eslint-disable-line no-new
new
BuildArtifacts
();
// eslint-disable-line no-new
}
app/assets/javascripts/pages/projects/artifacts/file/index.js
0 → 100644
浏览文件 @
3ef346bc
import
BlobViewer
from
'
~/blob/viewer/index
'
;
import
ShortcutsNavigation
from
'
~/shortcuts_navigation
'
;
export
default
function
()
{
new
ShortcutsNavigation
();
// eslint-disable-line no-new
new
BlobViewer
();
// eslint-disable-line no-new
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录