Merge branch 'refs/heads/master' into apply-matrix

This commit is contained in:
Jürg Lehni 2014-03-13 01:19:52 +01:00
commit d622d648c1

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)