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
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
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
2 additions
and
7 deletions
+2
-7
app/assets/javascripts/graphs/graphs_bundle.js
app/assets/javascripts/graphs/graphs_bundle.js
+2
-0
app/assets/javascripts/lib/chart.js
app/assets/javascripts/lib/chart.js
+0
-3
app/views/projects/graphs/charts.html.haml
app/views/projects/graphs/charts.html.haml
+0
-1
app/views/projects/graphs/show.html.haml
app/views/projects/graphs/show.html.haml
+0
-1
app/views/projects/pipelines/charts.html.haml
app/views/projects/pipelines/charts.html.haml
+0
-1
config/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
'
;
import
ContributorsStatGraph
from
'
./stat_graph_contributors
'
;
// export to global scope
// export to global scope
window
.
Chart
=
Chart
;
window
.
ContributorsStatGraph
=
ContributorsStatGraph
;
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
-
@no_container
=
true
-
page_title
"Charts"
-
page_title
"Charts"
-
content_for
:page_specific_javascripts
do
-
content_for
:page_specific_javascripts
do
=
page_specific_javascript_bundle_tag
(
'lib_chart'
)
=
page_specific_javascript_bundle_tag
(
'graphs'
)
=
page_specific_javascript_bundle_tag
(
'graphs'
)
=
render
"projects/commits/head"
=
render
"projects/commits/head"
...
...
app/views/projects/graphs/show.html.haml
View file @
1f974331
-
@no_container
=
true
-
@no_container
=
true
-
page_title
"Contributors"
-
page_title
"Contributors"
-
content_for
:page_specific_javascripts
do
-
content_for
:page_specific_javascripts
do
=
page_specific_javascript_bundle_tag
(
'lib_chart'
)
=
page_specific_javascript_bundle_tag
(
'graphs'
)
=
page_specific_javascript_bundle_tag
(
'graphs'
)
=
render
'projects/commits/head'
=
render
'projects/commits/head'
...
...
app/views/projects/pipelines/charts.html.haml
View file @
1f974331
-
@no_container
=
true
-
@no_container
=
true
-
page_title
"Charts"
,
"Pipelines"
-
page_title
"Charts"
,
"Pipelines"
-
content_for
:page_specific_javascripts
do
-
content_for
:page_specific_javascripts
do
=
page_specific_javascript_bundle_tag
(
'lib_chart'
)
=
page_specific_javascript_bundle_tag
(
'graphs'
)
=
page_specific_javascript_bundle_tag
(
'graphs'
)
=
render
'head'
=
render
'head'
...
...
config/webpack.config.js
View file @
1f974331
...
@@ -40,7 +40,6 @@ var config = {
...
@@ -40,7 +40,6 @@ var config = {
snippet
:
'
./snippet/snippet_bundle.js
'
,
snippet
:
'
./snippet/snippet_bundle.js
'
,
terminal
:
'
./terminal/terminal_bundle.js
'
,
terminal
:
'
./terminal/terminal_bundle.js
'
,
users
:
'
./users/users_bundle.js
'
,
users
:
'
./users/users_bundle.js
'
,
lib_chart
:
'
./lib/chart.js
'
,
lib_d3
:
'
./lib/d3.js
'
,
lib_d3
:
'
./lib/d3.js
'
,
vue_pipelines
:
'
./vue_pipelines_index/index.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