--- a/ckanext/ga_report/public/scripts/vendor/d3.v2.js +++ b/ckanext/ga_report/public/scripts/vendor/d3.v2.js @@ -1,4 +1,4 @@ -(function() { +if (Modernizr.svg){(function() { function d3_class(ctor, properties) { try { for (var key in properties) { @@ -7023,4 +7023,5 @@ d3.time.scale.utc = function() { return d3_time_scale(d3.scale.linear(), d3_time_scaleUTCMethods, d3_time_scaleUTCFormat); }; -})(); +})();} +