Avoid creating proxy array objects

This commit is contained in:
hkrish 2013-12-24 19:00:33 +01:00
parent f23303e371
commit 70070c14d2

View file

@ -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;
},