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
1f974331
Commit
1f974331
authored
Mar 02, 2017
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merge lib_chart into graphs bundle
parent
5f464f98
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
2 additions
and
7 deletions
+2
-7
graphs_bundle.js
app/assets/javascripts/graphs/graphs_bundle.js
+2
-0
chart.js
app/assets/javascripts/lib/chart.js
+0
-3
charts.html.haml
app/views/projects/graphs/charts.html.haml
+0
-1
show.html.haml
app/views/projects/graphs/show.html.haml
+0
-1
charts.html.haml
app/views/projects/pipelines/charts.html.haml
+0
-1
webpack.config.js
config/webpack.config.js
+0
-1
No files found.
app/assets/javascripts/graphs/graphs_bundle.js
View file @
1f974331
import
Chart
from
'vendor/Chart'
;
import
ContributorsStatGraph
from
'./stat_graph_contributors'
;
// export to global scope
window
.
Chart
=
Chart
;
window
.
ContributorsStatGraph
=
ContributorsStatGraph
;
app/assets/javascripts/lib/chart.js
deleted
100644 → 0
View file @
5f464f98
/* eslint-disable func-names, space-before-function-paren */
window
.
Chart
=
require
(
'vendor/Chart'
);
app/views/projects/graphs/charts.html.haml
View file @
1f974331
-
@no_container
=
true
-
page_title
"Charts"
-
content_for
:page_specific_javascripts
do
=
page_specific_javascript_bundle_tag
(
'lib_chart'
)
=
page_specific_javascript_bundle_tag
(
'graphs'
)
=
render
"projects/commits/head"
...
...
app/views/projects/graphs/show.html.haml
View file @
1f974331
-
@no_container
=
true
-
page_title
"Contributors"
-
content_for
:page_specific_javascripts
do
=
page_specific_javascript_bundle_tag
(
'lib_chart'
)
=
page_specific_javascript_bundle_tag
(
'graphs'
)
=
render
'projects/commits/head'
...
...
app/views/projects/pipelines/charts.html.haml
View file @
1f974331
-
@no_container
=
true
-
page_title
"Charts"
,
"Pipelines"
-
content_for
:page_specific_javascripts
do
=
page_specific_javascript_bundle_tag
(
'lib_chart'
)
=
page_specific_javascript_bundle_tag
(
'graphs'
)
=
render
'head'
...
...
config/webpack.config.js
View file @
1f974331
...
...
@@ -40,7 +40,6 @@ var config = {
snippet
:
'./snippet/snippet_bundle.js'
,
terminal
:
'./terminal/terminal_bundle.js'
,
users
:
'./users/users_bundle.js'
,
lib_chart
:
'./lib/chart.js'
,
lib_d3
:
'./lib/d3.js'
,
vue_pipelines
:
'./vue_pipelines_index/index.js'
,
},
...
...
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