Fix failing test.

This commit is contained in:
Jürg Lehni 2014-03-13 01:15:36 +01:00
parent 10c28a301e
commit 4e20a5594e

View file

@ -133,7 +133,7 @@ new function() {
// Get the path data, and determine whether it is a compound path or a
// normal path based on the amount of moveTo commands inside it.
var data = node.getAttribute('d'),
param = { pathData: data, insert: false };
param = { pathData: data };
// If there are multiple moveTo commands or a closePath command followed
// by other commands, we have a CompoundPath:
return data.match(/m/gi).length > 1 || /z\S+/i.test(data)