# HG changeset patch # User nowmad@nowmads-macbook-pro.local # Date 1453331470 -3600 # Node ID f7223e2f302377394ded6c07bd5ad0071c825ac4 # Parent 3437f5191645cba9aea52e2198bb633fedd92595 fix removed var diff -r 3437f5191645 -r f7223e2f3023 cms/app-client/app/components/visu-langues.js --- 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); })