Don't try to iterate a null array

Signed-off-by: TJ <hacker@iam.tj>
This commit is contained in:
TJ 2015-01-26 21:21:46 +00:00
parent 809c41b1cf
commit d3af8483a8
No known key found for this signature in database
GPG key ID: EFEC37A429CD6080

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)