From 7b1f118aed06715b4e96f1b22d311f01f40d5a18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Sat, 2 Nov 2013 09:45:11 +0100 Subject: [PATCH] Use same command sequence as in switch statement. --- src/path/PathItem.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/path/PathItem.js b/src/path/PathItem.js index 5aefa674..425f079a 100644 --- a/src/path/PathItem.js +++ b/src/path/PathItem.js @@ -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,