mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-06-16 16:09:33 -04:00
Color: Rename variable name due to conflict.
This commit is contained in:
parent
81558cb54f
commit
f2e01a8837
1 changed files with 2 additions and 2 deletions
|
@ -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];
|
||||
}
|
||||
};
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue