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
Jérome Perrin
gitlab-ce
Commits
a9a858e0
Commit
a9a858e0
authored
Jan 08, 2018
by
Jacob Schatz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix `projects:a*` refactor for dispatcher
parent
cd16600e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
app/assets/javascripts/dispatcher.js
app/assets/javascripts/dispatcher.js
+4
-2
app/assets/javascripts/pages/projects/activity/index.js
app/assets/javascripts/pages/projects/activity/index.js
+7
-0
No files found.
app/assets/javascripts/dispatcher.js
View file @
a9a858e0
...
...
@@ -357,8 +357,10 @@ import Activities from './activities';
$
(
'
.commit-info.branches
'
).
load
(
document
.
querySelector
(
'
.js-commit-box
'
).
dataset
.
commitPath
);
break
;
case
'
projects:activity
'
:
new
Activities
();
shortcut_handler
=
new
ShortcutsNavigation
();
import
(
'
./pages/projects/activity
'
)
.
then
(
callDefault
)
.
catch
(
fail
);
shortcut_handler
=
true
;
break
;
case
'
projects:commits:show
'
:
CommitsList
.
init
(
document
.
querySelector
(
'
.js-project-commits-show
'
).
dataset
.
commitsLimit
);
...
...
app/assets/javascripts/pages/projects/activity/index.js
0 → 100644
View file @
a9a858e0
import
Activities
from
'
~/activities
'
;
import
ShortcutsNavigation
from
'
~/shortcuts_navigation
'
;
export
default
function
()
{
new
Activities
();
// eslint-disable-line no-new
new
ShortcutsNavigation
();
// 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