mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -05:00
Prebuilt module for commit 7412939096
This commit is contained in:
parent
b19cf62c62
commit
cb95b131a0
5 changed files with 55 additions and 40 deletions
27
dist/docs/assets/js/paper.js
vendored
27
dist/docs/assets/js/paper.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Wed Oct 4 17:52:09 2017 +0200
|
||||
* Date: Wed Oct 4 21:43:56 2017 +0200
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -10350,16 +10350,20 @@ PathItem.inject(new function() {
|
|||
function collect(inter, end) {
|
||||
while (inter && inter !== end) {
|
||||
var other = inter._segment,
|
||||
path = other._path,
|
||||
next = other.getNext() || path && path.getFirstSegment(),
|
||||
nextInter = next && next._intersection;
|
||||
if (other !== segment && (isStart(other) || isStart(next)
|
||||
|| next && (isValid(other) && (isValid(next)
|
||||
|| nextInter && isValid(nextInter._segment))))) {
|
||||
crossings.push(other);
|
||||
path = other && other._path;
|
||||
if (path) {
|
||||
var next = other.getNext() || path.getFirstSegment(),
|
||||
nextInter = next._intersection;
|
||||
if (other !== segment && (isStart(other)
|
||||
|| isStart(next)
|
||||
|| next && (isValid(other) && (isValid(next)
|
||||
|| nextInter && isValid(nextInter._segment))))
|
||||
) {
|
||||
crossings.push(other);
|
||||
}
|
||||
if (collectStarts)
|
||||
starts.push(other);
|
||||
}
|
||||
if (collectStarts)
|
||||
starts.push(other);
|
||||
inter = inter._next;
|
||||
}
|
||||
}
|
||||
|
@ -10450,7 +10454,8 @@ PathItem.inject(new function() {
|
|||
visited.length = 0;
|
||||
do {
|
||||
seg = branch && branch.crossings.shift();
|
||||
if (!seg) {
|
||||
if (!seg || !seg._path) {
|
||||
seg = null;
|
||||
branch = branches.pop();
|
||||
if (branch) {
|
||||
visited = branch.visited;
|
||||
|
|
27
dist/paper-core.js
vendored
27
dist/paper-core.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Wed Oct 4 17:52:09 2017 +0200
|
||||
* Date: Wed Oct 4 21:43:56 2017 +0200
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -10350,16 +10350,20 @@ PathItem.inject(new function() {
|
|||
function collect(inter, end) {
|
||||
while (inter && inter !== end) {
|
||||
var other = inter._segment,
|
||||
path = other._path,
|
||||
next = other.getNext() || path && path.getFirstSegment(),
|
||||
nextInter = next && next._intersection;
|
||||
if (other !== segment && (isStart(other) || isStart(next)
|
||||
|| next && (isValid(other) && (isValid(next)
|
||||
|| nextInter && isValid(nextInter._segment))))) {
|
||||
crossings.push(other);
|
||||
path = other && other._path;
|
||||
if (path) {
|
||||
var next = other.getNext() || path.getFirstSegment(),
|
||||
nextInter = next._intersection;
|
||||
if (other !== segment && (isStart(other)
|
||||
|| isStart(next)
|
||||
|| next && (isValid(other) && (isValid(next)
|
||||
|| nextInter && isValid(nextInter._segment))))
|
||||
) {
|
||||
crossings.push(other);
|
||||
}
|
||||
if (collectStarts)
|
||||
starts.push(other);
|
||||
}
|
||||
if (collectStarts)
|
||||
starts.push(other);
|
||||
inter = inter._next;
|
||||
}
|
||||
}
|
||||
|
@ -10450,7 +10454,8 @@ PathItem.inject(new function() {
|
|||
visited.length = 0;
|
||||
do {
|
||||
seg = branch && branch.crossings.shift();
|
||||
if (!seg) {
|
||||
if (!seg || !seg._path) {
|
||||
seg = null;
|
||||
branch = branches.pop();
|
||||
if (branch) {
|
||||
visited = branch.visited;
|
||||
|
|
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
27
dist/paper-full.js
vendored
27
dist/paper-full.js
vendored
|
@ -9,7 +9,7 @@
|
|||
*
|
||||
* All rights reserved.
|
||||
*
|
||||
* Date: Wed Oct 4 17:52:09 2017 +0200
|
||||
* Date: Wed Oct 4 21:43:56 2017 +0200
|
||||
*
|
||||
***
|
||||
*
|
||||
|
@ -10350,16 +10350,20 @@ PathItem.inject(new function() {
|
|||
function collect(inter, end) {
|
||||
while (inter && inter !== end) {
|
||||
var other = inter._segment,
|
||||
path = other._path,
|
||||
next = other.getNext() || path && path.getFirstSegment(),
|
||||
nextInter = next && next._intersection;
|
||||
if (other !== segment && (isStart(other) || isStart(next)
|
||||
|| next && (isValid(other) && (isValid(next)
|
||||
|| nextInter && isValid(nextInter._segment))))) {
|
||||
crossings.push(other);
|
||||
path = other && other._path;
|
||||
if (path) {
|
||||
var next = other.getNext() || path.getFirstSegment(),
|
||||
nextInter = next._intersection;
|
||||
if (other !== segment && (isStart(other)
|
||||
|| isStart(next)
|
||||
|| next && (isValid(other) && (isValid(next)
|
||||
|| nextInter && isValid(nextInter._segment))))
|
||||
) {
|
||||
crossings.push(other);
|
||||
}
|
||||
if (collectStarts)
|
||||
starts.push(other);
|
||||
}
|
||||
if (collectStarts)
|
||||
starts.push(other);
|
||||
inter = inter._next;
|
||||
}
|
||||
}
|
||||
|
@ -10450,7 +10454,8 @@ PathItem.inject(new function() {
|
|||
visited.length = 0;
|
||||
do {
|
||||
seg = branch && branch.crossings.shift();
|
||||
if (!seg) {
|
||||
if (!seg || !seg._path) {
|
||||
seg = null;
|
||||
branch = branches.pop();
|
||||
if (branch) {
|
||||
visited = branch.visited;
|
||||
|
|
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