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
a9db24b2
Commit
a9db24b2
authored
Feb 28, 2018
by
Clement Ho
Committed by
Jacob Schatz
Feb 28, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove cycle analytics bundle webpack entry point
parent
0d3ed41a
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
7 deletions
+6
-7
app/assets/javascripts/cycle_analytics/cycle_analytics_bundle.js
...ets/javascripts/cycle_analytics/cycle_analytics_bundle.js
+3
-3
app/assets/javascripts/pages/projects/cycle_analytics/show/index.js
.../javascripts/pages/projects/cycle_analytics/show/index.js
+3
-0
app/views/projects/cycle_analytics/show.html.haml
app/views/projects/cycle_analytics/show.html.haml
+0
-1
config/webpack.config.js
config/webpack.config.js
+0
-3
No files found.
app/assets/javascripts/cycle_analytics/cycle_analytics_bundle.js
View file @
a9db24b2
...
...
@@ -14,10 +14,10 @@ import CycleAnalyticsStore from './cycle_analytics_store';
Vue
.
use
(
Translate
);
$
(
()
=>
{
export
default
()
=>
{
const
OVERVIEW_DIALOG_COOKIE
=
'
cycle_analytics_help_dismissed
'
;
gl
.
cycleAnalyticsApp
=
new
Vue
({
new
Vue
({
// eslint-disable-line no-new
el
:
'
#cycle-analytics
'
,
name
:
'
CycleAnalytics
'
,
components
:
{
...
...
@@ -132,4 +132,4 @@ $(() => {
},
},
});
}
)
;
};
app/assets/javascripts/pages/projects/cycle_analytics/show/index.js
0 → 100644
View file @
a9db24b2
import
initCycleAnalytics
from
'
~/cycle_analytics/cycle_analytics_bundle
'
;
document
.
addEventListener
(
'
DOMContentLoaded
'
,
initCycleAnalytics
);
app/views/projects/cycle_analytics/show.html.haml
View file @
a9db24b2
...
...
@@ -2,7 +2,6 @@
-
page_title
"Cycle Analytics"
-
content_for
:page_specific_javascripts
do
=
webpack_bundle_tag
(
'common_vue'
)
=
webpack_bundle_tag
(
'cycle_analytics'
)
#cycle-analytics
{
class:
container_class
,
"v-cloak"
=>
"true"
,
data:
{
request_path:
project_cycle_analytics_path
(
@project
)
}
}
-
if
@cycle_analytics_no_data
...
...
config/webpack.config.js
View file @
a9db24b2
...
...
@@ -44,7 +44,6 @@ function generateEntries() {
const
manualEntries
=
{
balsamiq_viewer
:
'
./blob/balsamiq_viewer.js
'
,
cycle_analytics
:
'
./cycle_analytics/cycle_analytics_bundle.js
'
,
environments
:
'
./environments/environments_bundle.js
'
,
filtered_search
:
'
./filtered_search/filtered_search_bundle.js
'
,
help
:
'
./help/help.js
'
,
...
...
@@ -63,7 +62,6 @@ function generateEntries() {
ui_development_kit
:
'
./ui_development_kit.js
'
,
two_factor_auth
:
'
./two_factor_auth.js
'
,
common
:
'
./commons/index.js
'
,
common_vue
:
'
./vue_shared/vue_resource_interceptor.js
'
,
locale
:
'
./locale/index.js
'
,
...
...
@@ -234,7 +232,6 @@ var config = {
name
:
'
common_vue
'
,
chunks
:
[
'
boards
'
,
'
cycle_analytics
'
,
'
deploy_keys
'
,
'
environments
'
,
'
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