bugfix. catching emtpy path attribute d.

This commit is contained in:
Teja 2015-07-16 11:43:09 +02:00
parent cb512a257c
commit c70b446d65

View file

@ -81,7 +81,8 @@ Snap.plugin(function (Snap, Element, Paper, global) {
}
var arr;
var d = path_elem.attr('d').trim();
var d = path_elem.attr('d');
d = (d || "").trim();
var arr_orig;
arr = Snap.parsePathString(d);
if (!toCubics) {