mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Make sure private values are initialized correctly.
This commit is contained in:
parent
72d64be5e6
commit
74bce39184
1 changed files with 1 additions and 0 deletions
|
@ -50,6 +50,7 @@ var Palette = this.Palette = Base.extend(Callback, /** @lends Palette# */{
|
|||
_values[name] = value;
|
||||
});
|
||||
this._values = Base.each(values, function(value, name) {
|
||||
_values[name] = value;
|
||||
Base.define(values, name, {
|
||||
enumerable: true,
|
||||
configurable: true,
|
||||
|
|
Loading…
Reference in a new issue