Accessors cannot define the writable property.

This commit is contained in:
Jürg Lehni 2013-05-27 18:12:25 -07:00
parent 5592bb57e0
commit 70d6050900
2 changed files with 0 additions and 2 deletions

View file

@ -139,7 +139,6 @@ var PaperScope = Base.extend(/** @lends PaperScope# */{
Base.each(['project', 'view', 'tool'], function(key) {
Base.define(scope, key, {
configurable: true,
writable: true,
get: function() {
return that[key];
}

View file

@ -49,7 +49,6 @@ var Palette = Base.extend(Callback, /** @lends Palette# */{
Base.define(values, name, {
enumerable: true,
configurable: true,
writable: true,
get: function() {
return component._value;
},