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
Boxiang Sun
gitlab-ce
Commits
2400c7bf
Commit
2400c7bf
authored
Feb 26, 2018
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove diff notes webpack entry point
parent
1553a34d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
3 deletions
+2
-3
app/assets/javascripts/pages/projects/commit/show/index.js
app/assets/javascripts/pages/projects/commit/show/index.js
+2
-0
app/views/projects/commit/show.html.haml
app/views/projects/commit/show.html.haml
+0
-1
config/webpack.config.js
config/webpack.config.js
+0
-2
No files found.
app/assets/javascripts/pages/projects/commit/show/index.js
View file @
2400c7bf
...
@@ -5,6 +5,7 @@ import ShortcutsNavigation from '~/shortcuts_navigation';
...
@@ -5,6 +5,7 @@ import ShortcutsNavigation from '~/shortcuts_navigation';
import
MiniPipelineGraph
from
'
~/mini_pipeline_graph_dropdown
'
;
import
MiniPipelineGraph
from
'
~/mini_pipeline_graph_dropdown
'
;
import
initNotes
from
'
~/init_notes
'
;
import
initNotes
from
'
~/init_notes
'
;
import
initChangesDropdown
from
'
~/init_changes_dropdown
'
;
import
initChangesDropdown
from
'
~/init_changes_dropdown
'
;
import
initDiffNotes
from
'
~/diff_notes/diff_notes_bundle
'
;
import
{
fetchCommitMergeRequests
}
from
'
~/commit_merge_requests
'
;
import
{
fetchCommitMergeRequests
}
from
'
~/commit_merge_requests
'
;
document
.
addEventListener
(
'
DOMContentLoaded
'
,
()
=>
{
document
.
addEventListener
(
'
DOMContentLoaded
'
,
()
=>
{
...
@@ -19,4 +20,5 @@ document.addEventListener('DOMContentLoaded', () => {
...
@@ -19,4 +20,5 @@ document.addEventListener('DOMContentLoaded', () => {
initChangesDropdown
(
document
.
querySelector
(
'
.navbar-gitlab
'
).
offsetHeight
-
stickyBarPaddingTop
);
initChangesDropdown
(
document
.
querySelector
(
'
.navbar-gitlab
'
).
offsetHeight
-
stickyBarPaddingTop
);
$
(
'
.commit-info.branches
'
).
load
(
document
.
querySelector
(
'
.js-commit-box
'
).
dataset
.
commitPath
);
$
(
'
.commit-info.branches
'
).
load
(
document
.
querySelector
(
'
.js-commit-box
'
).
dataset
.
commitPath
);
fetchCommitMergeRequests
();
fetchCommitMergeRequests
();
initDiffNotes
();
});
});
app/views/projects/commit/show.html.haml
View file @
2400c7bf
...
@@ -8,7 +8,6 @@
...
@@ -8,7 +8,6 @@
-
page_description
@commit
.
description
-
page_description
@commit
.
description
-
content_for
:page_specific_javascripts
do
-
content_for
:page_specific_javascripts
do
=
webpack_bundle_tag
(
'common_vue'
)
=
webpack_bundle_tag
(
'common_vue'
)
=
webpack_bundle_tag
(
'diff_notes'
)
.container-fluid
{
class:
[
limited_container_width
,
container_class
]
}
.container-fluid
{
class:
[
limited_container_width
,
container_class
]
}
=
render
"commit_box"
=
render
"commit_box"
...
...
config/webpack.config.js
View file @
2400c7bf
...
@@ -55,7 +55,6 @@ var config = {
...
@@ -55,7 +55,6 @@ var config = {
common_vue
:
'
./vue_shared/vue_resource_interceptor.js
'
,
common_vue
:
'
./vue_shared/vue_resource_interceptor.js
'
,
cycle_analytics
:
'
./cycle_analytics/cycle_analytics_bundle.js
'
,
cycle_analytics
:
'
./cycle_analytics/cycle_analytics_bundle.js
'
,
commit_pipelines
:
'
./commit/pipelines/pipelines_bundle.js
'
,
commit_pipelines
:
'
./commit/pipelines/pipelines_bundle.js
'
,
diff_notes
:
'
./diff_notes/diff_notes_bundle.js
'
,
environments
:
'
./environments/environments_bundle.js
'
,
environments
:
'
./environments/environments_bundle.js
'
,
environments_folder
:
'
./environments/folder/environments_folder_bundle.js
'
,
environments_folder
:
'
./environments/folder/environments_folder_bundle.js
'
,
filtered_search
:
'
./filtered_search/filtered_search_bundle.js
'
,
filtered_search
:
'
./filtered_search/filtered_search_bundle.js
'
,
...
@@ -247,7 +246,6 @@ var config = {
...
@@ -247,7 +246,6 @@ var config = {
'
commit_pipelines
'
,
'
commit_pipelines
'
,
'
cycle_analytics
'
,
'
cycle_analytics
'
,
'
deploy_keys
'
,
'
deploy_keys
'
,
'
diff_notes
'
,
'
environments
'
,
'
environments
'
,
'
environments_folder
'
,
'
environments_folder
'
,
'
filtered_search
'
,
'
filtered_search
'
,
...
...
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