mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-06 04:42:15 -05:00
Prebuilt module for commit da7d0d8f75
This commit is contained in:
parent
7153a12ba7
commit
acd9f86c84
5 changed files with 22 additions and 16 deletions
10
dist/docs/assets/js/paper.js
vendored
10
dist/docs/assets/js/paper.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Mon Mar 14 18:47:05 2016 +0100
|
||||
* Date: Mon Mar 14 18:59:09 2016 +0100
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -7884,8 +7884,10 @@ var Path = PathItem.extend({
|
|||
},
|
||||
|
||||
splitAt: function(location) {
|
||||
var index = location && location.index,
|
||||
time = location && location.time,
|
||||
var loc = typeof location === 'number'
|
||||
? this.getLocationAt(location) : location,
|
||||
index = loc && loc.index,
|
||||
time = loc && loc.time,
|
||||
tMin = 4e-7,
|
||||
tMax = 1 - tMin;
|
||||
if (time >= tMax) {
|
||||
|
@ -7919,7 +7921,7 @@ var Path = PathItem.extend({
|
|||
location = time === undefined ? index
|
||||
: (curve = this.getCurves()[index])
|
||||
&& curve.getLocationAtTime(time);
|
||||
return location ? this.splitAt(location) : null;
|
||||
return location != null ? this.splitAt(location) : null;
|
||||
},
|
||||
|
||||
join: function(path) {
|
||||
|
|
10
dist/paper-core.js
vendored
10
dist/paper-core.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Mon Mar 14 18:47:05 2016 +0100
|
||||
* Date: Mon Mar 14 18:59:09 2016 +0100
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -7884,8 +7884,10 @@ var Path = PathItem.extend({
|
|||
},
|
||||
|
||||
splitAt: function(location) {
|
||||
var index = location && location.index,
|
||||
time = location && location.time,
|
||||
var loc = typeof location === 'number'
|
||||
? this.getLocationAt(location) : location,
|
||||
index = loc && loc.index,
|
||||
time = loc && loc.time,
|
||||
tMin = 4e-7,
|
||||
tMax = 1 - tMin;
|
||||
if (time >= tMax) {
|
||||
|
@ -7919,7 +7921,7 @@ var Path = PathItem.extend({
|
|||
location = time === undefined ? index
|
||||
: (curve = this.getCurves()[index])
|
||||
&& curve.getLocationAtTime(time);
|
||||
return location ? this.splitAt(location) : null;
|
||||
return location != null ? this.splitAt(location) : null;
|
||||
},
|
||||
|
||||
join: function(path) {
|
||||
|
|
4
dist/paper-core.min.js
vendored
4
dist/paper-core.min.js
vendored
File diff suppressed because one or more lines are too long
10
dist/paper-full.js
vendored
10
dist/paper-full.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Mon Mar 14 18:47:05 2016 +0100
|
||||
* Date: Mon Mar 14 18:59:09 2016 +0100
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -7884,8 +7884,10 @@ var Path = PathItem.extend({
|
|||
},
|
||||
|
||||
splitAt: function(location) {
|
||||
var index = location && location.index,
|
||||
time = location && location.time,
|
||||
var loc = typeof location === 'number'
|
||||
? this.getLocationAt(location) : location,
|
||||
index = loc && loc.index,
|
||||
time = loc && loc.time,
|
||||
tMin = 4e-7,
|
||||
tMax = 1 - tMin;
|
||||
if (time >= tMax) {
|
||||
|
@ -7919,7 +7921,7 @@ var Path = PathItem.extend({
|
|||
location = time === undefined ? index
|
||||
: (curve = this.getCurves()[index])
|
||||
&& curve.getLocationAtTime(time);
|
||||
return location ? this.splitAt(location) : null;
|
||||
return location != null ? this.splitAt(location) : null;
|
||||
},
|
||||
|
||||
join: function(path) {
|
||||
|
|
4
dist/paper-full.min.js
vendored
4
dist/paper-full.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue