mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-22 07:19:57 -05:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
fc6b3cd4d5
1 changed files with 1 additions and 3 deletions
|
@ -70,12 +70,10 @@ test('path.remove()', function() {
|
||||||
return path.segments.length;
|
return path.segments.length;
|
||||||
}, 2);
|
}, 2);
|
||||||
|
|
||||||
// TODO: shouldn't this remove two segments? The segments from index 0 till
|
|
||||||
// index 1?
|
|
||||||
path.removeSegments(0, 1);
|
path.removeSegments(0, 1);
|
||||||
equals(function() {
|
equals(function() {
|
||||||
return path.segments.length;
|
return path.segments.length;
|
||||||
}, 0);
|
}, 1);
|
||||||
|
|
||||||
path.remove();
|
path.remove();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue