Prebuilt module for commit be79a0e504

This commit is contained in:
Paper.js Bot 2016-05-22 15:26:55 +00:00
parent 2eca07026a
commit b3534eca2c
5 changed files with 19 additions and 16 deletions

View file

@ -9,7 +9,7 @@
*
* All rights reserved.
*
* Date: Sun May 22 16:00:27 2016 +0200
* Date: Sun May 22 17:24:12 2016 +0200
*
***
*
@ -8065,12 +8065,13 @@ var Path = PathItem.extend({
flatten: function(flatness) {
var iterator = new PathIterator(this, flatness || 0.25, 256, true),
parts = iterator.parts,
length = parts.length,
segments = [];
for (var i = 0, l = parts.length; i < l; i++) {
for (var i = 0; i < length; i++) {
segments.push(new Segment(parts[i].curve.slice(0, 2)));
}
if (!this._closed && l) {
segments.push(new Segment(parts[l - 1].curve.slice(6)));
if (!this._closed && length > 0) {
segments.push(new Segment(parts[length - 1].curve.slice(6)));
}
this.setSegments(segments);
},

9
dist/paper-core.js vendored
View file

@ -9,7 +9,7 @@
*
* All rights reserved.
*
* Date: Sun May 22 16:00:27 2016 +0200
* Date: Sun May 22 17:24:12 2016 +0200
*
***
*
@ -8065,12 +8065,13 @@ var Path = PathItem.extend({
flatten: function(flatness) {
var iterator = new PathIterator(this, flatness || 0.25, 256, true),
parts = iterator.parts,
length = parts.length,
segments = [];
for (var i = 0, l = parts.length; i < l; i++) {
for (var i = 0; i < length; i++) {
segments.push(new Segment(parts[i].curve.slice(0, 2)));
}
if (!this._closed && l) {
segments.push(new Segment(parts[l - 1].curve.slice(6)));
if (!this._closed && length > 0) {
segments.push(new Segment(parts[length - 1].curve.slice(6)));
}
this.setSegments(segments);
},

File diff suppressed because one or more lines are too long

9
dist/paper-full.js vendored
View file

@ -9,7 +9,7 @@
*
* All rights reserved.
*
* Date: Sun May 22 16:00:27 2016 +0200
* Date: Sun May 22 17:24:12 2016 +0200
*
***
*
@ -8065,12 +8065,13 @@ var Path = PathItem.extend({
flatten: function(flatness) {
var iterator = new PathIterator(this, flatness || 0.25, 256, true),
parts = iterator.parts,
length = parts.length,
segments = [];
for (var i = 0, l = parts.length; i < l; i++) {
for (var i = 0; i < length; i++) {
segments.push(new Segment(parts[i].curve.slice(0, 2)));
}
if (!this._closed && l) {
segments.push(new Segment(parts[l - 1].curve.slice(6)));
if (!this._closed && length > 0) {
segments.push(new Segment(parts[length - 1].curve.slice(6)));
}
this.setSegments(segments);
},

File diff suppressed because one or more lines are too long