mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-04 03:45:58 -05:00
Break long line.
This commit is contained in:
parent
ab9d07501e
commit
9f8bf39f1f
1 changed files with 2 additions and 1 deletions
|
@ -13,7 +13,8 @@ function compareSegments(segment1, segment2) {
|
||||||
segment2 = Segment.read([segment2]);
|
segment2 = Segment.read([segment2]);
|
||||||
var points = ['point', 'handleIn', 'handleOut'];
|
var points = ['point', 'handleIn', 'handleOut'];
|
||||||
for (var i = 0; i < 3; i++) {
|
for (var i = 0; i < 3; i++) {
|
||||||
equals(!!segment1[points[i]], !!segment2[points[i]], 'have ' + points[i]);
|
equals(!!segment1[points[i]], !!segment2[points[i]],
|
||||||
|
'have ' + points[i]);
|
||||||
if (segment1[points[i]] && segment2[points[i]])
|
if (segment1[points[i]] && segment2[points[i]])
|
||||||
comparePoints(segment1[points[i]], segment2[points[i]], points[i]);
|
comparePoints(segment1[points[i]], segment2[points[i]], points[i]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue