Commit 2c8fc1a0 authored by Ole Laursen's avatar Ole Laursen

Fix missing ; (reported by getify, issue 518)

parent c1d4516c
...@@ -446,7 +446,7 @@ ...@@ -446,7 +446,7 @@
// vary color if needed // vary color if needed
var sign = variation % 2 == 1 ? -1 : 1; var sign = variation % 2 == 1 ? -1 : 1;
c.scale('rgb', 1 + sign * Math.ceil(variation / 2) * 0.2) c.scale('rgb', 1 + sign * Math.ceil(variation / 2) * 0.2);
// FIXME: if we're getting to close to something else, // FIXME: if we're getting to close to something else,
// we should probably skip this one // we should probably skip this one
...@@ -932,7 +932,7 @@ ...@@ -932,7 +932,7 @@
var innermost = $.inArray(axis, sameDirection) == 0; var innermost = $.inArray(axis, sameDirection) == 0;
if (innermost) if (innermost)
tickLength = "full" tickLength = "full";
else else
tickLength = 5; tickLength = 5;
} }
...@@ -2562,7 +2562,7 @@ ...@@ -2562,7 +2562,7 @@
if (typeof c != "string") { if (typeof c != "string") {
var co = $.color.parse(defaultColor); var co = $.color.parse(defaultColor);
if (c.brightness != null) if (c.brightness != null)
co = co.scale('rgb', c.brightness) co = co.scale('rgb', c.brightness);
if (c.opacity != null) if (c.opacity != null)
co.a *= c.opacity; co.a *= c.opacity;
c = co.toString(); c = co.toString();
......
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