mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-07-04 00:40:29 -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[component] = value;
|
||||||
color = color.convert(this._colorType);
|
color = color.convert(this._colorType);
|
||||||
for (var i = 0, l = this._components.length; i < l; i++) {
|
for (var i = 0, l = this._components.length; i < l; i++) {
|
||||||
var component = this._components[i];
|
var key = this._components[i];
|
||||||
this[component] = color[component];
|
this[key] = color[key];
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue