mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-19 06:00:56 -05:00
Remove unnecessary variable declarations.
This commit is contained in:
parent
199d19a237
commit
c51f2a0d3b
1 changed files with 1 additions and 2 deletions
|
@ -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 ],
|
||||
|
|
Loading…
Reference in a new issue