No need for white-space in CSS color format.

This commit is contained in:
Jürg Lehni 2013-06-18 14:33:50 -07:00
parent 75acdf1025
commit db49718015

View file

@ -739,7 +739,7 @@ var Color = Base.extend(new function() {
if (alpha < 1)
components.push(alpha);
return (components.length == 4 ? 'rgba(' : 'rgb(')
+ components.join(', ') + ')';
+ components.join(',') + ')';
},
toCanvasStyle: function(ctx) {