app/assets/javascripts/highcharts/modules/exporting.js in highcharts-rails-5.0.7 vs app/assets/javascripts/highcharts/modules/exporting.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) * Exporting 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); @@ -21,11 +22,10 @@ * * License: www.highcharts.com/license */ /* eslint indent:0 */ - 'use strict'; // create shortcuts var defaultOptions = H.defaultOptions, doc = H.doc, Chart = H.Chart, @@ -242,11 +242,11 @@ /* This fails in IE < 8 .replace(/([0-9]+)\.([0-9]+)/g, function(s1, s2, s3) { // round off to save weight return s2 +'.'+ s3[0]; })*/ - // Replace HTML entities, issue #347 - .replace(/&nbsp;/g, '\u00A0') // no-break space + // Replace HTML entities, issue #347 + .replace(/&nbsp;/g, '\u00A0') // no-break space .replace(/&shy;/g, '\u00AD'); // soft hyphen // IE specific svg = svg