mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-08 05:42:07 -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.
|
* 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) {
|
splitAt: function(location) {
|
||||||
var index = location && location.index,
|
var loc = typeof location === 'number'
|
||||||
time = location && location.time,
|
? this.getLocationAt(location) : location,
|
||||||
|
index = loc && loc.index,
|
||||||
|
time = loc && loc.time,
|
||||||
tMin = 4e-7,
|
tMin = 4e-7,
|
||||||
tMax = 1 - tMin;
|
tMax = 1 - tMin;
|
||||||
if (time >= tMax) {
|
if (time >= tMax) {
|
||||||
|
@ -7919,7 +7921,7 @@ var Path = PathItem.extend({
|
||||||
location = time === undefined ? index
|
location = time === undefined ? index
|
||||||
: (curve = this.getCurves()[index])
|
: (curve = this.getCurves()[index])
|
||||||
&& curve.getLocationAtTime(time);
|
&& curve.getLocationAtTime(time);
|
||||||
return location ? this.splitAt(location) : null;
|
return location != null ? this.splitAt(location) : null;
|
||||||
},
|
},
|
||||||
|
|
||||||
join: function(path) {
|
join: function(path) {
|
||||||
|
|
10
dist/paper-core.js
vendored
10
dist/paper-core.js
vendored
|
@ -9,7 +9,7 @@
|
||||||
*
|
*
|
||||||
* All rights reserved.
|
* 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) {
|
splitAt: function(location) {
|
||||||
var index = location && location.index,
|
var loc = typeof location === 'number'
|
||||||
time = location && location.time,
|
? this.getLocationAt(location) : location,
|
||||||
|
index = loc && loc.index,
|
||||||
|
time = loc && loc.time,
|
||||||
tMin = 4e-7,
|
tMin = 4e-7,
|
||||||
tMax = 1 - tMin;
|
tMax = 1 - tMin;
|
||||||
if (time >= tMax) {
|
if (time >= tMax) {
|
||||||
|
@ -7919,7 +7921,7 @@ var Path = PathItem.extend({
|
||||||
location = time === undefined ? index
|
location = time === undefined ? index
|
||||||
: (curve = this.getCurves()[index])
|
: (curve = this.getCurves()[index])
|
||||||
&& curve.getLocationAtTime(time);
|
&& curve.getLocationAtTime(time);
|
||||||
return location ? this.splitAt(location) : null;
|
return location != null ? this.splitAt(location) : null;
|
||||||
},
|
},
|
||||||
|
|
||||||
join: function(path) {
|
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.
|
* 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) {
|
splitAt: function(location) {
|
||||||
var index = location && location.index,
|
var loc = typeof location === 'number'
|
||||||
time = location && location.time,
|
? this.getLocationAt(location) : location,
|
||||||
|
index = loc && loc.index,
|
||||||
|
time = loc && loc.time,
|
||||||
tMin = 4e-7,
|
tMin = 4e-7,
|
||||||
tMax = 1 - tMin;
|
tMax = 1 - tMin;
|
||||||
if (time >= tMax) {
|
if (time >= tMax) {
|
||||||
|
@ -7919,7 +7921,7 @@ var Path = PathItem.extend({
|
||||||
location = time === undefined ? index
|
location = time === undefined ? index
|
||||||
: (curve = this.getCurves()[index])
|
: (curve = this.getCurves()[index])
|
||||||
&& curve.getLocationAtTime(time);
|
&& curve.getLocationAtTime(time);
|
||||||
return location ? this.splitAt(location) : null;
|
return location != null ? this.splitAt(location) : null;
|
||||||
},
|
},
|
||||||
|
|
||||||
join: function(path) {
|
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