From 921ee38fc831e59fe03c81be815a408dbbb942f8 Mon Sep 17 00:00:00 2001 From: dotnetCarpenter Date: Wed, 5 Feb 2014 14:15:53 +0100 Subject: convert bool to int, so d only contains number values - fixes #145 --- src/patharray.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/patharray.js') 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 } -- cgit v1.2.3