diff options
author | Wout Fierens <wout@impinc.co.uk> | 2014-02-05 14:27:06 +0100 |
---|---|---|
committer | Wout Fierens <wout@impinc.co.uk> | 2014-02-05 14:27:06 +0100 |
commit | 6841c3283e25feec7b3da61424c787eb384b7e0f (patch) | |
tree | fca030db1192e728dbee0712868186df0723f2ad | |
parent | 5d0b09055f230fd9f86fee04fcdd479fe3a00951 (diff) | |
parent | 921ee38fc831e59fe03c81be815a408dbbb942f8 (diff) | |
download | svg.js-6841c3283e25feec7b3da61424c787eb384b7e0f.tar.gz svg.js-6841c3283e25feec7b3da61424c787eb384b7e0f.zip |
Merge pull request #146 from dotnetCarpenter/patharray
convert bool to int, so d only contains number values - fixes #145
-rw-r--r-- | src/patharray.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/patharray.js b/src/patharray.js index 26b3262..ab49625 100644 --- a/src/patharray.js +++ b/src/patharray.js @@ -267,8 +267,8 @@ SVG.extend(SVG.PathArray, { r1: seg.r1 , r2: seg.r2 , a: seg.angle - , l: seg.largeArcFlag - , s: seg.sweepFlag + , l: seg.largeArcFlag|0 /* convert bool to int - see #145 */ + , s: seg.sweepFlag|0 /* convert bool to int - see #145 */ } break } |