Skip to content

Commit

Permalink
Rebuild.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock committed Jul 4, 2015
1 parent b484209 commit 5b981a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions d3.js
Original file line number Diff line number Diff line change
Expand Up @@ -1698,9 +1698,8 @@
return v < 16 ? "0" + Math.max(0, v).toString(16) : Math.min(255, v).toString(16);
}
function d3_rgb_parse(format, rgb, hsl) {
format = format.toLowerCase();
var r = 0, g = 0, b = 0, m1, m2, color;
m1 = /([a-z]+)\((.*)\)/.exec(format);
m1 = /([a-z]+)\((.*)\)/.exec(format = format.toLowerCase());
if (m1) {
m2 = m1[2].split(",");
switch (m1[1]) {
Expand Down
Loading

0 comments on commit 5b981a1

Please sign in to comment.