Use same command sequence as in switch statement.

This commit is contained in:
Jürg Lehni 2013-11-02 09:45:11 +01:00
parent 97a29e6ada
commit 7b1f118aed

View file

@ -87,7 +87,7 @@ var PathItem = Item.extend(/** @lends PathItem# */{
// First split the path data into parts of command-coordinates pairs
// Commands are any of these characters: mzlhvcsqta
var parts = data.match(/[mzlhvcsqta][^mzlhvcsqta]*/ig),
var parts = data.match(/[mlhvcsqtaz][^mlhvcsqtaz]*/ig),
coords,
relative = false,
control,