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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
3ef346bc
Commit
3ef346bc
authored
Jan 08, 2018
by
Jacob Schatz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Finishes dispatcher `projects:a*` stuff.
parent
a9a858e0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
5 deletions
+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
No files found.
app/assets/javascripts/dispatcher.js
View file @
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
View file @
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
View file @
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
}
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