diff options
Diffstat (limited to 'app/assets/javascripts/graphs/graphs_bundle.js')
-rw-r--r-- | app/assets/javascripts/graphs/graphs_bundle.js | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/app/assets/javascripts/graphs/graphs_bundle.js b/app/assets/javascripts/graphs/graphs_bundle.js index 32c26349da0..a433c7ba8f0 100644 --- a/app/assets/javascripts/graphs/graphs_bundle.js +++ b/app/assets/javascripts/graphs/graphs_bundle.js @@ -1,12 +1,6 @@ -/* eslint-disable func-names, space-before-function-paren */ -// This is a manifest file that'll be compiled into including all the files listed below. -// Add new JavaScript code in separate files in this directory and they'll automatically -// be included in the compiled file accessible from http://example.com/assets/application.js -// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the -// the compiled file. -// -/*= require_tree . */ +import Chart from 'vendor/Chart'; +import ContributorsStatGraph from './stat_graph_contributors'; -(function() { - -}).call(this); +// export to global scope +window.Chart = Chart; +window.ContributorsStatGraph = ContributorsStatGraph; |