mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-20 22:39:50 -05:00
Prebuilt module for commit 7651f41c14
This commit is contained in:
parent
ec80de4280
commit
d4e9cd1173
5 changed files with 31 additions and 46 deletions
23
dist/docs/assets/js/paper.js
vendored
23
dist/docs/assets/js/paper.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Sat Dec 31 11:30:38 2016 +0100
|
||||
* Date: Sat Dec 31 11:33:18 2016 +0100
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -7070,8 +7070,8 @@ new function() {
|
|||
i2 = i1 ^ 1,
|
||||
t1 = i >> 1,
|
||||
t2 = Curve.getTimeOf(v[i1], new Point(
|
||||
v[i2][t1 === 0 ? 0 : 6],
|
||||
v[i2][t1 === 0 ? 1 : 7]));
|
||||
v[i2][t1 ? 6 : 0],
|
||||
v[i2][t1 ? 7 : 1]));
|
||||
if (t2 != null) {
|
||||
var pair = i1 ? [t1, t2] : [t2, t1];
|
||||
if (!pairs.length ||
|
||||
|
@ -7234,10 +7234,8 @@ var CurveLocation = Base.extend({
|
|||
divide: function() {
|
||||
var curve = this.getCurve(),
|
||||
res = null;
|
||||
if (curve) {
|
||||
res = curve.divideAtTime(this.getTime());
|
||||
if (res)
|
||||
this._setSegment(res._segment1);
|
||||
if (curve && (res = curve.divideAtTime(this.getTime()))) {
|
||||
this._setSegment(res._segment1);
|
||||
}
|
||||
return res;
|
||||
},
|
||||
|
@ -8152,13 +8150,10 @@ var Path = PathItem.extend({
|
|||
|
||||
divideAt: function(location) {
|
||||
var loc = this.getLocationAt(location),
|
||||
ret = null;
|
||||
if (loc) {
|
||||
var curve = loc.getCurve().divideAt(loc.getCurveOffset());
|
||||
if (curve)
|
||||
ret = curve._segment1;
|
||||
}
|
||||
return ret;
|
||||
curve;
|
||||
return loc && (curve = loc.getCurve().divideAt(loc.getCurveOffset()))
|
||||
? curve._segment1
|
||||
: null;
|
||||
},
|
||||
|
||||
splitAt: function(location) {
|
||||
|
|
23
dist/paper-core.js
vendored
23
dist/paper-core.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Sat Dec 31 11:30:38 2016 +0100
|
||||
* Date: Sat Dec 31 11:33:18 2016 +0100
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -7070,8 +7070,8 @@ new function() {
|
|||
i2 = i1 ^ 1,
|
||||
t1 = i >> 1,
|
||||
t2 = Curve.getTimeOf(v[i1], new Point(
|
||||
v[i2][t1 === 0 ? 0 : 6],
|
||||
v[i2][t1 === 0 ? 1 : 7]));
|
||||
v[i2][t1 ? 6 : 0],
|
||||
v[i2][t1 ? 7 : 1]));
|
||||
if (t2 != null) {
|
||||
var pair = i1 ? [t1, t2] : [t2, t1];
|
||||
if (!pairs.length ||
|
||||
|
@ -7234,10 +7234,8 @@ var CurveLocation = Base.extend({
|
|||
divide: function() {
|
||||
var curve = this.getCurve(),
|
||||
res = null;
|
||||
if (curve) {
|
||||
res = curve.divideAtTime(this.getTime());
|
||||
if (res)
|
||||
this._setSegment(res._segment1);
|
||||
if (curve && (res = curve.divideAtTime(this.getTime()))) {
|
||||
this._setSegment(res._segment1);
|
||||
}
|
||||
return res;
|
||||
},
|
||||
|
@ -8152,13 +8150,10 @@ var Path = PathItem.extend({
|
|||
|
||||
divideAt: function(location) {
|
||||
var loc = this.getLocationAt(location),
|
||||
ret = null;
|
||||
if (loc) {
|
||||
var curve = loc.getCurve().divideAt(loc.getCurveOffset());
|
||||
if (curve)
|
||||
ret = curve._segment1;
|
||||
}
|
||||
return ret;
|
||||
curve;
|
||||
return loc && (curve = loc.getCurve().divideAt(loc.getCurveOffset()))
|
||||
? curve._segment1
|
||||
: null;
|
||||
},
|
||||
|
||||
splitAt: function(location) {
|
||||
|
|
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
23
dist/paper-full.js
vendored
23
dist/paper-full.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Sat Dec 31 11:30:38 2016 +0100
|
||||
* Date: Sat Dec 31 11:33:18 2016 +0100
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -7070,8 +7070,8 @@ new function() {
|
|||
i2 = i1 ^ 1,
|
||||
t1 = i >> 1,
|
||||
t2 = Curve.getTimeOf(v[i1], new Point(
|
||||
v[i2][t1 === 0 ? 0 : 6],
|
||||
v[i2][t1 === 0 ? 1 : 7]));
|
||||
v[i2][t1 ? 6 : 0],
|
||||
v[i2][t1 ? 7 : 1]));
|
||||
if (t2 != null) {
|
||||
var pair = i1 ? [t1, t2] : [t2, t1];
|
||||
if (!pairs.length ||
|
||||
|
@ -7234,10 +7234,8 @@ var CurveLocation = Base.extend({
|
|||
divide: function() {
|
||||
var curve = this.getCurve(),
|
||||
res = null;
|
||||
if (curve) {
|
||||
res = curve.divideAtTime(this.getTime());
|
||||
if (res)
|
||||
this._setSegment(res._segment1);
|
||||
if (curve && (res = curve.divideAtTime(this.getTime()))) {
|
||||
this._setSegment(res._segment1);
|
||||
}
|
||||
return res;
|
||||
},
|
||||
|
@ -8152,13 +8150,10 @@ var Path = PathItem.extend({
|
|||
|
||||
divideAt: function(location) {
|
||||
var loc = this.getLocationAt(location),
|
||||
ret = null;
|
||||
if (loc) {
|
||||
var curve = loc.getCurve().divideAt(loc.getCurveOffset());
|
||||
if (curve)
|
||||
ret = curve._segment1;
|
||||
}
|
||||
return ret;
|
||||
curve;
|
||||
return loc && (curve = loc.getCurve().divideAt(loc.getCurveOffset()))
|
||||
? curve._segment1
|
||||
: null;
|
||||
},
|
||||
|
||||
splitAt: function(location) {
|
||||
|
|
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