From 16c31fc683582c139961db214b017a68fb2ba3f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Wed, 6 Jul 2011 23:54:34 +0200 Subject: [PATCH] No need to initialize with 0 since we're always setting them again. --- src/color/Color.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/color/Color.js b/src/color/Color.js index 22767182..efbc0fbb 100644 --- a/src/color/Color.js +++ b/src/color/Color.js @@ -206,7 +206,7 @@ var Color = this.Color = Base.extend(new function() { var t3s = [ h + 1 / 3, h, h - 1 / 3 ], t2 = l < 0.5 ? l * (1 + s) : l + s - l * s, t1 = 2 * l - t2, - c = [0, 0, 0]; + c = []; for (var i = 0; i < 3; i++) { var t3 = t3s[i]; if (t3 < 0) t3 += 1;