lib/my_chartkick.rb in my_chartkick-0.1.2 vs lib/my_chartkick.rb in my_chartkick-0.1.3
- old
+ new
@@ -42,11 +42,11 @@
Bundle.new.tap do |bundle|
blk.call bundle
end
end
- CDN = '<script src="https://cdnjs.cloudflare.com/ajax/libs/highcharts/5.0.10/highcharts.js"></script>
- <script src="https://cdnjs.cloudflare.com/ajax/libs/chartkick/2.2.3/chartkick.min.js"></script>'
+ CDN = '<script src="http://code.highcharts.com.cn/highcharts/5.0.10/highcharts.js"></script>
+ <script src="https://cdn.bootcdn.net/ajax/libs/chartkick/2.2.3/chartkick.min.js"></script>'
Jslib = File.expand_path '../my_chartkick/js', __FILE__
Inline = %w{highcharts.js chartkick.min.js}.map do |file|
src_path = File.join Jslib, file