cms/app-client/app/components/visu-langues.js
changeset 93 f7223e2f3023
parent 92 3437f5191645
child 95 f7ab931581af
--- a/cms/app-client/app/components/visu-langues.js	Wed Jan 20 23:51:55 2016 +0100
+++ b/cms/app-client/app/components/visu-langues.js	Thu Jan 21 00:11:10 2016 +0100
@@ -166,12 +166,12 @@
         return g;
       }
 
-      function text() {
+      function text(text) {
         text.attr("x", function(d) { return x(d.x) + 6; })
             .attr("y", function(d) { return y(d.y) + 6; });
       }
 
-      function rect() {
+      function rect(rect) {
         rect.attr("x", function(d) { return x(d.x); })
             .attr("y", function(d) { return y(d.y); })
             .attr("width", function(d) { return x(d.x + d.dx) - x(d.x); })