Skip to content

Commit b890872

Browse files
committed
recompile
1 parent 6b44f8f commit b890872

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

‎libcanvas-full-compiled.js‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5855,6 +5855,8 @@ provides: Shapes.Path
58555855
* [empty] grow()
58565856
*/
58575857
varPath=LibCanvas.declare('LibCanvas.Shapes.Path','Path',Polygon,{
5858+
parts: [],
5859+
58585860
initialize : function(parts){
58595861
this.parts=[];
58605862

@@ -5882,8 +5884,8 @@ var Path = LibCanvas.declare( 'LibCanvas.Shapes.Path', 'Path', Polygon,{
58825884
lineTo: function(point){
58835885
returnthis.push('lineTo',[Point.from(point)]);
58845886
},
5885-
curveTo: function(to,p1,p2){
5886-
varpoints=atom.array.from(arguments).map(Point);
5887+
curveTo: function(to,cp1,cp2){
5888+
varpoints=atom.array.pickFrom(arguments).map(Point);
58875889
returnthis.push('curveTo',points);
58885890
},
58895891

@@ -5929,7 +5931,7 @@ var Path = LibCanvas.declare( 'LibCanvas.Shapes.Path', 'Path', Polygon,{
59295931
varpoints=[];
59305932
this.forEach(function(part){
59315933
for(vari=0,l=part.points.length;i<l;i++){
5932-
points.include(part.points[i]);
5934+
atom.array.include(points,part.points[i]);
59335935
}
59345936
});
59355937
returnpoints;

0 commit comments

Comments
(0)