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
b48f7ec3
Commit
b48f7ec3
authored
Feb 20, 2018
by
Mike Greiling
Committed by
Clement Ho
Feb 20, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove "notes" bundle from webpack config
parent
520f4072
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
11 deletions
+4
-11
app/assets/javascripts/pages/projects/issues/show/index.js
app/assets/javascripts/pages/projects/issues/show/index.js
+4
-5
app/views/projects/issues/show.html.haml
app/views/projects/issues/show.html.haml
+0
-4
config/webpack.config.js
config/webpack.config.js
+0
-2
No files found.
app/assets/javascripts/pages/projects/issues/show/index.js
View file @
b48f7ec3
/* eslint-disable no-new */
import
initIssuableSidebar
from
'
~/init_issuable_sidebar
'
;
import
initIssuableSidebar
from
'
~/init_issuable_sidebar
'
;
import
Issue
from
'
~/issue
'
;
import
Issue
from
'
~/issue
'
;
import
ShortcutsIssuable
from
'
~/shortcuts_issuable
'
;
import
ShortcutsIssuable
from
'
~/shortcuts_issuable
'
;
import
ZenMode
from
'
~/zen_mode
'
;
import
ZenMode
from
'
~/zen_mode
'
;
import
'
~/notes/index
'
;
document
.
addEventListener
(
'
DOMContentLoaded
'
,
()
=>
{
document
.
addEventListener
(
'
DOMContentLoaded
'
,
()
=>
{
new
Issue
();
new
Issue
();
// eslint-disable-line no-new
new
ShortcutsIssuable
();
new
ShortcutsIssuable
();
// eslint-disable-line no-new
new
ZenMode
();
new
ZenMode
();
// eslint-disable-line no-new
initIssuableSidebar
();
initIssuableSidebar
();
});
});
app/views/projects/issues/show.html.haml
View file @
b48f7ec3
...
@@ -5,10 +5,6 @@
...
@@ -5,10 +5,6 @@
-
page_description
@issue
.
description
-
page_description
@issue
.
description
-
page_card_attributes
@issue
.
card_attributes
-
page_card_attributes
@issue
.
card_attributes
-
content_for
:page_specific_javascripts
do
=
webpack_bundle_tag
'common_vue'
=
webpack_bundle_tag
'notes'
-
can_update_issue
=
can?
(
current_user
,
:update_issue
,
@issue
)
-
can_update_issue
=
can?
(
current_user
,
:update_issue
,
@issue
)
-
can_report_spam
=
@issue
.
submittable_as_spam_by?
(
current_user
)
-
can_report_spam
=
@issue
.
submittable_as_spam_by?
(
current_user
)
...
...
config/webpack.config.js
View file @
b48f7ec3
...
@@ -71,7 +71,6 @@ var config = {
...
@@ -71,7 +71,6 @@ var config = {
monitoring
:
'
./monitoring/monitoring_bundle.js
'
,
monitoring
:
'
./monitoring/monitoring_bundle.js
'
,
network
:
'
./network/network_bundle.js
'
,
network
:
'
./network/network_bundle.js
'
,
notebook_viewer
:
'
./blob/notebook_viewer.js
'
,
notebook_viewer
:
'
./blob/notebook_viewer.js
'
,
notes
:
'
./notes/index.js
'
,
pdf_viewer
:
'
./blob/pdf_viewer.js
'
,
pdf_viewer
:
'
./blob/pdf_viewer.js
'
,
pipelines
:
'
./pipelines/pipelines_bundle.js
'
,
pipelines
:
'
./pipelines/pipelines_bundle.js
'
,
pipelines_details
:
'
./pipelines/pipeline_details_bundle.js
'
,
pipelines_details
:
'
./pipelines/pipeline_details_bundle.js
'
,
...
@@ -259,7 +258,6 @@ var config = {
...
@@ -259,7 +258,6 @@ var config = {
'
merge_conflicts
'
,
'
merge_conflicts
'
,
'
monitoring
'
,
'
monitoring
'
,
'
notebook_viewer
'
,
'
notebook_viewer
'
,
'
notes
'
,
'
pdf_viewer
'
,
'
pdf_viewer
'
,
'
pipelines
'
,
'
pipelines
'
,
'
pipelines_details
'
,
'
pipelines_details
'
,
...
...
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