diff --git a/src/path/CompoundPath.js b/src/path/CompoundPath.js index 3b648f0d..e36dc71e 100644 --- a/src/path/CompoundPath.js +++ b/src/path/CompoundPath.js @@ -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; },