mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-06 04:42:15 -05:00
Prebuilt module for commit 65da4fe3ed
This commit is contained in:
parent
23ec037199
commit
8ea845cc8e
5 changed files with 36 additions and 27 deletions
17
dist/docs/assets/js/paper.js
vendored
17
dist/docs/assets/js/paper.js
vendored
|
@ -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
17
dist/paper-core.js
vendored
|
@ -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);
|
||||
}
|
||||
};
|
||||
},
|
||||
|
|
6
dist/paper-core.min.js
vendored
6
dist/paper-core.min.js
vendored
File diff suppressed because one or more lines are too long
17
dist/paper-full.js
vendored
17
dist/paper-full.js
vendored
|
@ -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);
|
||||
}
|
||||
};
|
||||
},
|
||||
|
|
6
dist/paper-full.min.js
vendored
6
dist/paper-full.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue