Prebuilt module for commit 65da4fe3ed

This commit is contained in:
Paper.js Bot 2017-03-08 15:26:01 +00:00
parent 23ec037199
commit 8ea845cc8e
5 changed files with 36 additions and 27 deletions

View file

@ -9,7 +9,7 @@
*
* All rights reserved.
*
* Date: Wed Mar 8 15:55:51 2017 +0100
* Date: Wed Mar 8 16:21:34 2017 +0100
*
***
*
@ -3069,15 +3069,18 @@ new function() {
}, Base.each(['locked', 'visible', 'blendMode', 'opacity', 'guide'],
function(name) {
var part = Base.capitalize(name),
name = '_' + name;
key = '_' + name,
flags = {
locked: 128,
visible: 137
};
this['get' + part] = function() {
return this[name];
return this[key];
};
this['set' + part] = function(value) {
if (value != this[name]) {
this[name] = value;
this._changed(name === '_locked'
? 128 : 129);
if (value != this[key]) {
this[key] = value;
this._changed(flags[name] || 129);
}
};
},

17
dist/paper-core.js vendored
View file

@ -9,7 +9,7 @@
*
* All rights reserved.
*
* Date: Wed Mar 8 15:55:51 2017 +0100
* Date: Wed Mar 8 16:21:34 2017 +0100
*
***
*
@ -3069,15 +3069,18 @@ new function() {
}, Base.each(['locked', 'visible', 'blendMode', 'opacity', 'guide'],
function(name) {
var part = Base.capitalize(name),
name = '_' + name;
key = '_' + name,
flags = {
locked: 128,
visible: 137
};
this['get' + part] = function() {
return this[name];
return this[key];
};
this['set' + part] = function(value) {
if (value != this[name]) {
this[name] = value;
this._changed(name === '_locked'
? 128 : 129);
if (value != this[key]) {
this[key] = value;
this._changed(flags[name] || 129);
}
};
},

File diff suppressed because one or more lines are too long

17
dist/paper-full.js vendored
View file

@ -9,7 +9,7 @@
*
* All rights reserved.
*
* Date: Wed Mar 8 15:55:51 2017 +0100
* Date: Wed Mar 8 16:21:34 2017 +0100
*
***
*
@ -3069,15 +3069,18 @@ new function() {
}, Base.each(['locked', 'visible', 'blendMode', 'opacity', 'guide'],
function(name) {
var part = Base.capitalize(name),
name = '_' + name;
key = '_' + name,
flags = {
locked: 128,
visible: 137
};
this['get' + part] = function() {
return this[name];
return this[key];
};
this['set' + part] = function(value) {
if (value != this[name]) {
this[name] = value;
this._changed(name === '_locked'
? 128 : 129);
if (value != this[key]) {
this[key] = value;
this._changed(flags[name] || 129);
}
};
},

File diff suppressed because one or more lines are too long