bugfix. catching emtpy path attribute d.
This commit is contained in:
parent
cb512a257c
commit
c70b446d65
1 changed files with 2 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue