mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-20 22:39:50 -05:00
Prebuilt module for commit 4954f5d6ab
This commit is contained in:
parent
52defe7151
commit
98d8eee856
5 changed files with 65 additions and 20 deletions
21
dist/docs/assets/js/paper.js
vendored
21
dist/docs/assets/js/paper.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Sat Jul 23 18:50:58 2016 +0200
|
||||
* Date: Mon Jul 25 21:42:06 2016 +0200
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -11198,7 +11198,7 @@ var Color = Base.extend(new function() {
|
|||
: color;
|
||||
return col === this || col && this._class === col._class
|
||||
&& this._type === col._type
|
||||
&& this._alpha === col._alpha
|
||||
&& this.getAlpha() === col.getAlpha()
|
||||
&& Base.equals(this._components, col._components)
|
||||
|| false;
|
||||
},
|
||||
|
@ -11665,8 +11665,23 @@ var Style = Base.extend(new function() {
|
|||
},
|
||||
|
||||
equals: function(style) {
|
||||
function compare(style1, style2, secondary) {
|
||||
var values1 = style1._values,
|
||||
values2 = style2._values,
|
||||
defaults2 = style2._defaults;
|
||||
for (var key in values1) {
|
||||
var value1 = values1[key],
|
||||
value2 = values2[key];
|
||||
if (!(secondary && key in values2) && !Base.equals(value1,
|
||||
value2 === undefined ? defaults2[key] : value2))
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
return style === this || style && this._class === style._class
|
||||
&& Base.equals(this._values, style._values)
|
||||
&& compare(this, style)
|
||||
&& compare(style, this, true)
|
||||
|| false;
|
||||
},
|
||||
|
||||
|
|
21
dist/paper-core.js
vendored
21
dist/paper-core.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Sat Jul 23 18:50:58 2016 +0200
|
||||
* Date: Mon Jul 25 21:42:06 2016 +0200
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -11198,7 +11198,7 @@ var Color = Base.extend(new function() {
|
|||
: color;
|
||||
return col === this || col && this._class === col._class
|
||||
&& this._type === col._type
|
||||
&& this._alpha === col._alpha
|
||||
&& this.getAlpha() === col.getAlpha()
|
||||
&& Base.equals(this._components, col._components)
|
||||
|| false;
|
||||
},
|
||||
|
@ -11665,8 +11665,23 @@ var Style = Base.extend(new function() {
|
|||
},
|
||||
|
||||
equals: function(style) {
|
||||
function compare(style1, style2, secondary) {
|
||||
var values1 = style1._values,
|
||||
values2 = style2._values,
|
||||
defaults2 = style2._defaults;
|
||||
for (var key in values1) {
|
||||
var value1 = values1[key],
|
||||
value2 = values2[key];
|
||||
if (!(secondary && key in values2) && !Base.equals(value1,
|
||||
value2 === undefined ? defaults2[key] : value2))
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
return style === this || style && this._class === style._class
|
||||
&& Base.equals(this._values, style._values)
|
||||
&& compare(this, style)
|
||||
&& compare(style, this, true)
|
||||
|| false;
|
||||
},
|
||||
|
||||
|
|
8
dist/paper-core.min.js
vendored
8
dist/paper-core.min.js
vendored
File diff suppressed because one or more lines are too long
21
dist/paper-full.js
vendored
21
dist/paper-full.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Sat Jul 23 18:50:58 2016 +0200
|
||||
* Date: Mon Jul 25 21:42:06 2016 +0200
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -11198,7 +11198,7 @@ var Color = Base.extend(new function() {
|
|||
: color;
|
||||
return col === this || col && this._class === col._class
|
||||
&& this._type === col._type
|
||||
&& this._alpha === col._alpha
|
||||
&& this.getAlpha() === col.getAlpha()
|
||||
&& Base.equals(this._components, col._components)
|
||||
|| false;
|
||||
},
|
||||
|
@ -11665,8 +11665,23 @@ var Style = Base.extend(new function() {
|
|||
},
|
||||
|
||||
equals: function(style) {
|
||||
function compare(style1, style2, secondary) {
|
||||
var values1 = style1._values,
|
||||
values2 = style2._values,
|
||||
defaults2 = style2._defaults;
|
||||
for (var key in values1) {
|
||||
var value1 = values1[key],
|
||||
value2 = values2[key];
|
||||
if (!(secondary && key in values2) && !Base.equals(value1,
|
||||
value2 === undefined ? defaults2[key] : value2))
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
return style === this || style && this._class === style._class
|
||||
&& Base.equals(this._values, style._values)
|
||||
&& compare(this, style)
|
||||
&& compare(style, this, true)
|
||||
|| false;
|
||||
},
|
||||
|
||||
|
|
14
dist/paper-full.min.js
vendored
14
dist/paper-full.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue