diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/patharray.js | 10 | ||||
-rwxr-xr-x | src/svg.js | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/patharray.js b/src/patharray.js index 68252c8..42bff3b 100644 --- a/src/patharray.js +++ b/src/patharray.js @@ -264,11 +264,11 @@ SVG.extend(SVG.PathArray, { break case 'A': s = { - r1: seg.r1 - , r2: seg.r2 - , angle: seg.angle - , largeArcFlag: seg.largeArcFlag - , sweepFlag: seg.sweepFlag + r1: seg.r1 + , r2: seg.r2 + , a: seg.angle + , l: seg.largeArcFlag + , s: seg.sweepFlag } break } @@ -1,7 +1,7 @@ // Use the `SVG()` function to create a SVG document within a given html element. The first argument can either be an id of the element or the selected element itself. // -// var draw = SVG('paper').size(300, 300) +// var draw = SVG('drawing').size(300, 300) // var rect = draw.rect(100, 100).attr({ fill: '#f06' }) |