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
bfdc81e9
Commit
bfdc81e9
authored
Feb 01, 2018
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
migrate projects:show to static bundle
parent
7b5e0d52
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
app/assets/javascripts/dispatcher.js
app/assets/javascripts/dispatcher.js
+0
-3
app/assets/javascripts/pages/projects/show/index.js
app/assets/javascripts/pages/projects/show/index.js
+2
-2
No files found.
app/assets/javascripts/dispatcher.js
View file @
bfdc81e9
...
@@ -306,9 +306,6 @@ import SearchAutocomplete from './search_autocomplete';
...
@@ -306,9 +306,6 @@ import SearchAutocomplete from './search_autocomplete';
shortcut_handler
=
true
;
shortcut_handler
=
true
;
break
;
break
;
case
'
projects:show
'
:
case
'
projects:show
'
:
import
(
'
./pages/projects/show
'
)
.
then
(
callDefault
)
.
catch
(
fail
);
shortcut_handler
=
true
;
shortcut_handler
=
true
;
break
;
break
;
case
'
projects:edit
'
:
case
'
projects:edit
'
:
...
...
app/assets/javascripts/pages/projects/show/index.js
View file @
bfdc81e9
...
@@ -8,7 +8,7 @@ import { ajaxGet } from '~/lib/utils/common_utils';
...
@@ -8,7 +8,7 @@ import { ajaxGet } from '~/lib/utils/common_utils';
import
Star
from
'
../../../star
'
;
import
Star
from
'
../../../star
'
;
import
notificationsDropdown
from
'
../../../notifications_dropdown
'
;
import
notificationsDropdown
from
'
../../../notifications_dropdown
'
;
export
default
()
=>
{
document
.
addEventListener
(
'
DOMContentLoaded
'
,
()
=>
{
new
Star
();
// eslint-disable-line no-new
new
Star
();
// eslint-disable-line no-new
notificationsDropdown
();
notificationsDropdown
();
new
ShortcutsNavigation
();
// eslint-disable-line no-new
new
ShortcutsNavigation
();
// eslint-disable-line no-new
...
@@ -24,4 +24,4 @@ export default () => {
...
@@ -24,4 +24,4 @@ export default () => {
$
(
'
#tree-slider
'
).
waitForImages
(()
=>
{
$
(
'
#tree-slider
'
).
waitForImages
(()
=>
{
ajaxGet
(
document
.
querySelector
(
'
.js-tree-content
'
).
dataset
.
logsPath
);
ajaxGet
(
document
.
querySelector
(
'
.js-tree-content
'
).
dataset
.
logsPath
);
});
});
};
}
)
;
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