diff --git a/src/path/PathItem.js b/src/path/PathItem.js index 68b8521f..6983175a 100644 --- a/src/path/PathItem.js +++ b/src/path/PathItem.js @@ -163,6 +163,8 @@ var PathItem = Item.extend(/** @lends PathItem# */{ current = new Point(), start = new Point(); + if (!parts) return; + function getCoord(index, coord) { var val = +coords[index]; if (relative)