mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-20 22:39:50 -05:00
Accessors cannot define the writable property.
This commit is contained in:
parent
5592bb57e0
commit
70d6050900
2 changed files with 0 additions and 2 deletions
|
@ -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];
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue