mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-06 04:42:15 -05:00
Avoid creating proxy array objects
This commit is contained in:
parent
f23303e371
commit
70070c14d2
1 changed files with 1 additions and 1 deletions
|
@ -187,7 +187,7 @@ var CompoundPath = PathItem.extend(/** @lends CompoundPath# */{
|
|||
var children = this._children,
|
||||
curves = [];
|
||||
for (var i = 0, l = children.length; i < l; i++)
|
||||
curves = curves.concat(children[i].getCurves());
|
||||
curves.push.apply(curves, children[i].getCurves());
|
||||
return curves;
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue