Commit ef71ad5f authored by Josh Purvis's avatar Josh Purvis

Changed var to be consistent with others

parent 7a2da294
......@@ -1920,7 +1920,7 @@
var id = d.id || d;
// if callback function is provided
if (_colors[id] instanceof Function) { return colors[id](d); }
if (colors[id] instanceof Function) { return colors[id](d); }
// if specified, choose that color
if (id in colors) { return colors[id]; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment