Remove unnecessary variable declarations.

This commit is contained in:
Jürg Lehni 2012-09-30 19:50:30 -07:00
parent 199d19a237
commit c51f2a0d3b

View file

@ -162,8 +162,7 @@ var Color = this.Color = Base.extend(new function() {
'hsl-rgb': function(color) {
var s = color._saturation,
h = color._hue / 360,
l = color._lightness,
t1, t2, c;
l = color._lightness;
if (s == 0)
return new RgbColor(l, l, l, color._alpha);
var t3s = [ h + 1 / 3, h, h - 1 / 3 ],