cms/app-client/app/components/visu-langues.js
changeset 123 4c97e9da1416
parent 95 f7ab931581af
child 126 e87a340711a4
--- a/cms/app-client/app/components/visu-langues.js	Fri Feb 12 15:30:32 2016 +0100
+++ b/cms/app-client/app/components/visu-langues.js	Fri Feb 12 22:31:48 2016 +0100
@@ -1,4 +1,5 @@
 import Ember from 'ember';
+import d3 from 'd3';
 
 export default Ember.Component.extend({
   didInsertElement: function(){
@@ -175,7 +176,7 @@
             .attr("y", function(d) { return y(d.y); })
             .attr("width", function(d) { return x(d.x + d.dx) - x(d.x); })
             .attr("height", function(d) { return y(d.y + d.dy) - y(d.y); })
-            .attr("fill", function(d) { return (d.color || "#bbb")});
+            .attr("fill", function(d) { return (d.color || "#bbb"); });
       }
 
       function name(d) {