diff options
author | Connor Shea <connor.james.shea@gmail.com> | 2016-06-07 13:13:10 -0600 |
---|---|---|
committer | Connor Shea <connor.james.shea@gmail.com> | 2016-06-07 15:27:30 -0600 |
commit | d9422aef859334de737341ed4acf1933439c5693 (patch) | |
tree | 6ee4e89a8ebcd9a2d3749b99a9c5f18fa7cb9aae /app/assets/javascripts/graphs | |
parent | 2cbb17da31be0d18e8457232255da0bd5ac87db5 (diff) | |
download | gitlab-ce-d9422aef859334de737341ed4acf1933439c5693.tar.gz |
Only load Chart.js when necessary.
Diffstat (limited to 'app/assets/javascripts/graphs')
-rw-r--r-- | app/assets/javascripts/graphs/application.js.coffee | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/assets/javascripts/graphs/application.js.coffee b/app/assets/javascripts/graphs/application.js.coffee index e0f681acf0b..91f81a5d249 100644 --- a/app/assets/javascripts/graphs/application.js.coffee +++ b/app/assets/javascripts/graphs/application.js.coffee @@ -4,4 +4,5 @@ # 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 Chart #= require_tree . |