Skip to content

Commit

Permalink
Fix overeager refactoring in c77165b
Browse files Browse the repository at this point in the history
  • Loading branch information
lehni committed Oct 1, 2015
1 parent fee3a90 commit 72f9705
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/path/Curve.js
Original file line number Diff line number Diff line change
Expand Up @@ -501,9 +501,8 @@ var Curve = Base.extend(/** @lends Curve# */{
res = this.getNext();
} else {
// otherwise create it from the result of split
var end = segment2;
segment2 = segment;
res = new Curve(segment, end);
this._segment2 = segment;
res = new Curve(segment, segment2);
}
}
return res;
Expand Down

0 comments on commit 72f9705

Please sign in to comment.