Make sure private values are initialized correctly.

This commit is contained in:
Jürg Lehni 2012-11-14 12:10:39 -08:00
parent 72d64be5e6
commit 74bce39184

View file

@ -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,