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
6844a2df
Commit
6844a2df
authored
Feb 20, 2018
by
Clement Ho
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'remove-notes-bundle' into 'master'
Remove "notes" bundle from webpack config See merge request gitlab-org/gitlab-ce!17230
parents
520f4072
b48f7ec3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
11 deletions
+4
-11
index.js
app/assets/javascripts/pages/projects/issues/show/index.js
+4
-5
show.html.haml
app/views/projects/issues/show.html.haml
+0
-4
webpack.config.js
config/webpack.config.js
+0
-2
No files found.
app/assets/javascripts/pages/projects/issues/show/index.js
View file @
6844a2df
/* eslint-disable no-new */
import
initIssuableSidebar
from
'~/init_issuable_sidebar'
;
import
Issue
from
'~/issue'
;
import
ShortcutsIssuable
from
'~/shortcuts_issuable'
;
import
ZenMode
from
'~/zen_mode'
;
import
'~/notes/index'
;
document
.
addEventListener
(
'DOMContentLoaded'
,
()
=>
{
new
Issue
();
new
ShortcutsIssuable
();
new
ZenMode
();
new
Issue
();
// eslint-disable-line no-new
new
ShortcutsIssuable
();
// eslint-disable-line no-new
new
ZenMode
();
// eslint-disable-line no-new
initIssuableSidebar
();
});
app/views/projects/issues/show.html.haml
View file @
6844a2df
...
...
@@ -5,10 +5,6 @@
-
page_description
@issue
.
description
-
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_report_spam
=
@issue
.
submittable_as_spam_by?
(
current_user
)
...
...
config/webpack.config.js
View file @
6844a2df
...
...
@@ -71,7 +71,6 @@ var config = {
monitoring
:
'./monitoring/monitoring_bundle.js'
,
network
:
'./network/network_bundle.js'
,
notebook_viewer
:
'./blob/notebook_viewer.js'
,
notes
:
'./notes/index.js'
,
pdf_viewer
:
'./blob/pdf_viewer.js'
,
pipelines
:
'./pipelines/pipelines_bundle.js'
,
pipelines_details
:
'./pipelines/pipeline_details_bundle.js'
,
...
...
@@ -259,7 +258,6 @@ var config = {
'merge_conflicts'
,
'monitoring'
,
'notebook_viewer'
,
'notes'
,
'pdf_viewer'
,
'pipelines'
,
'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