Merge pull request #627 from iam-TJ/issue_626

Issue 626: Don't try to iterate a null array
This commit is contained in:
Jürg Lehni 2015-02-28 19:18:50 +01:00
commit 8a625e0acd

View file

@ -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)