mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-06 04:42:15 -05:00
Prebuilt module for commit 1fad295600
This commit is contained in:
parent
a0a1ddb3d7
commit
a80ef1f8b8
5 changed files with 27 additions and 18 deletions
11
dist/docs/assets/js/paper.js
vendored
11
dist/docs/assets/js/paper.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Tue Mar 7 11:45:13 2017 +0100
|
||||
* Date: Tue Mar 7 12:34:59 2017 +0100
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -1404,7 +1404,8 @@ var Point = Base.extend({
|
|||
},
|
||||
|
||||
isZero: function() {
|
||||
return Numerical.isZero(this.x) && Numerical.isZero(this.y);
|
||||
var isZero = Numerical.isZero;
|
||||
return isZero(this.x) && isZero(this.y);
|
||||
},
|
||||
|
||||
isNaN: function() {
|
||||
|
@ -1621,7 +1622,8 @@ var Size = Base.extend({
|
|||
},
|
||||
|
||||
isZero: function() {
|
||||
return Numerical.isZero(this.width) && Numerical.isZero(this.height);
|
||||
var isZero = Numerical.isZero;
|
||||
return isZero(this.width) && isZero(this.height);
|
||||
},
|
||||
|
||||
isNaN: function() {
|
||||
|
@ -5852,7 +5854,8 @@ var SegmentPoint = Point.extend({
|
|||
},
|
||||
|
||||
isZero: function() {
|
||||
return Numerical.isZero(this._x) && Numerical.isZero(this._y);
|
||||
var isZero = Numerical.isZero;
|
||||
return isZero(this._x) && isZero(this._y);
|
||||
},
|
||||
|
||||
isSelected: function() {
|
||||
|
|
11
dist/paper-core.js
vendored
11
dist/paper-core.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Tue Mar 7 11:45:13 2017 +0100
|
||||
* Date: Tue Mar 7 12:34:59 2017 +0100
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -1404,7 +1404,8 @@ var Point = Base.extend({
|
|||
},
|
||||
|
||||
isZero: function() {
|
||||
return Numerical.isZero(this.x) && Numerical.isZero(this.y);
|
||||
var isZero = Numerical.isZero;
|
||||
return isZero(this.x) && isZero(this.y);
|
||||
},
|
||||
|
||||
isNaN: function() {
|
||||
|
@ -1621,7 +1622,8 @@ var Size = Base.extend({
|
|||
},
|
||||
|
||||
isZero: function() {
|
||||
return Numerical.isZero(this.width) && Numerical.isZero(this.height);
|
||||
var isZero = Numerical.isZero;
|
||||
return isZero(this.width) && isZero(this.height);
|
||||
},
|
||||
|
||||
isNaN: function() {
|
||||
|
@ -5852,7 +5854,8 @@ var SegmentPoint = Point.extend({
|
|||
},
|
||||
|
||||
isZero: function() {
|
||||
return Numerical.isZero(this._x) && Numerical.isZero(this._y);
|
||||
var isZero = Numerical.isZero;
|
||||
return isZero(this._x) && isZero(this._y);
|
||||
},
|
||||
|
||||
isSelected: function() {
|
||||
|
|
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
11
dist/paper-full.js
vendored
11
dist/paper-full.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Tue Mar 7 11:45:13 2017 +0100
|
||||
* Date: Tue Mar 7 12:34:59 2017 +0100
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -1404,7 +1404,8 @@ var Point = Base.extend({
|
|||
},
|
||||
|
||||
isZero: function() {
|
||||
return Numerical.isZero(this.x) && Numerical.isZero(this.y);
|
||||
var isZero = Numerical.isZero;
|
||||
return isZero(this.x) && isZero(this.y);
|
||||
},
|
||||
|
||||
isNaN: function() {
|
||||
|
@ -1621,7 +1622,8 @@ var Size = Base.extend({
|
|||
},
|
||||
|
||||
isZero: function() {
|
||||
return Numerical.isZero(this.width) && Numerical.isZero(this.height);
|
||||
var isZero = Numerical.isZero;
|
||||
return isZero(this.width) && isZero(this.height);
|
||||
},
|
||||
|
||||
isNaN: function() {
|
||||
|
@ -5852,7 +5854,8 @@ var SegmentPoint = Point.extend({
|
|||
},
|
||||
|
||||
isZero: function() {
|
||||
return Numerical.isZero(this._x) && Numerical.isZero(this._y);
|
||||
var isZero = Numerical.isZero;
|
||||
return isZero(this._x) && isZero(this._y);
|
||||
},
|
||||
|
||||
isSelected: function() {
|
||||
|
|
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