BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
54d0f1bd
Commit
54d0f1bd
authored
Feb 27, 2018
by
Phil Hughes
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'refactor-commit-show' into 'master'
Remove diff notes webpack entry point See merge request gitlab-org/gitlab-ce!17382
parents
64b217bc
27ca41ac
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
3 deletions
+2
-3
index.js
app/assets/javascripts/pages/projects/commit/show/index.js
+2
-0
show.html.haml
app/views/projects/commit/show.html.haml
+0
-1
webpack.config.js
config/webpack.config.js
+0
-2
No files found.
app/assets/javascripts/pages/projects/commit/show/index.js
View file @
54d0f1bd
...
...
@@ -5,6 +5,7 @@ import ShortcutsNavigation from '~/shortcuts_navigation';
import
MiniPipelineGraph
from
'~/mini_pipeline_graph_dropdown'
;
import
initNotes
from
'~/init_notes'
;
import
initChangesDropdown
from
'~/init_changes_dropdown'
;
import
initDiffNotes
from
'~/diff_notes/diff_notes_bundle'
;
import
{
fetchCommitMergeRequests
}
from
'~/commit_merge_requests'
;
document
.
addEventListener
(
'DOMContentLoaded'
,
()
=>
{
...
...
@@ -19,4 +20,5 @@ document.addEventListener('DOMContentLoaded', () => {
initChangesDropdown
(
document
.
querySelector
(
'.navbar-gitlab'
).
offsetHeight
-
stickyBarPaddingTop
);
$
(
'.commit-info.branches'
).
load
(
document
.
querySelector
(
'.js-commit-box'
).
dataset
.
commitPath
);
fetchCommitMergeRequests
();
initDiffNotes
();
});
app/views/projects/commit/show.html.haml
View file @
54d0f1bd
...
...
@@ -8,7 +8,6 @@
-
page_description
@commit
.
description
-
content_for
:page_specific_javascripts
do
=
webpack_bundle_tag
(
'common_vue'
)
=
webpack_bundle_tag
(
'diff_notes'
)
.container-fluid
{
class:
[
limited_container_width
,
container_class
]
}
=
render
"commit_box"
...
...
config/webpack.config.js
View file @
54d0f1bd
...
...
@@ -48,7 +48,6 @@ var config = {
common
:
'./commons/index.js'
,
common_vue
:
'./vue_shared/vue_resource_interceptor.js'
,
cycle_analytics
:
'./cycle_analytics/cycle_analytics_bundle.js'
,
diff_notes
:
'./diff_notes/diff_notes_bundle.js'
,
environments
:
'./environments/environments_bundle.js'
,
filtered_search
:
'./filtered_search/filtered_search_bundle.js'
,
help
:
'./help/help.js'
,
...
...
@@ -235,7 +234,6 @@ var config = {
'boards'
,
'cycle_analytics'
,
'deploy_keys'
,
'diff_notes'
,
'environments'
,
'filtered_search'
,
'groups'
,
...
...
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