app/assets/javascripts/highcharts/modules/funnel.js in highcharts-rails-5.0.7 vs app/assets/javascripts/highcharts/modules/funnel.js in highcharts-rails-5.0.8

- old
+ new

@@ -1,13 +1,14 @@ /** - * @license Highcharts JS v5.0.7 (2017-01-17) + * @license Highcharts JS v5.0.8 (2017-03-08) * Highcharts funnel module * * (c) 2010-2016 Torstein Honsi * * License: www.highcharts.com/license */ +'use strict'; (function(factory) { if (typeof module === 'object' && module.exports) { module.exports = factory; } else { factory(Highcharts); @@ -20,11 +21,10 @@ * (c) 2010-2016 Torstein Honsi * * License: www.highcharts.com/license */ /* eslint indent:0 */ - 'use strict'; // create shortcuts var seriesType = Highcharts.seriesType, seriesTypes = Highcharts.seriesTypes, noop = Highcharts.noop, @@ -44,11 +44,11 @@ // Presentational dataLabels: { //position: 'right', connectorWidth: 1 - //connectorColor: null + //connectorColor: null }, states: { select: { color: '#cccccc', borderColor: '#000000', @@ -66,10 +66,10 @@ * Overrides the pie translate method */ translate: function() { var - // Get positions - either an integer or a percentage string must be given + // Get positions - either an integer or a percentage string must be given getLength = function(length, relativeTo) { return (/%$/).test(length) ? relativeTo * parseInt(length, 10) / 100 : parseInt(length, 10); },