Color: Rename variable name due to conflict.

This commit is contained in:
Jonathan Puckey 2011-05-21 17:56:54 +02:00
parent 81558cb54f
commit f2e01a8837

View file

@ -263,8 +263,8 @@ var Color = this.Color = Base.extend(new function() {
color[component] = value;
color = color.convert(this._colorType);
for (var i = 0, l = this._components.length; i < l; i++) {
var component = this._components[i];
this[component] = color[component];
var key = this._components[i];
this[key] = color[key];
}
};
});