diff options
author | wout <wout@impinc.co.uk> | 2014-01-29 22:57:24 +0100 |
---|---|---|
committer | wout <wout@impinc.co.uk> | 2014-01-29 22:57:24 +0100 |
commit | f6fc66659d0fc391442f58e8c82f965b38995725 (patch) | |
tree | 0da8f846db455d7b67ce2d9cabd257d8e605d93e /src | |
parent | 0a165763e99d3fd5625f130a83e7117c007a2f7e (diff) | |
download | svg.js-f6fc66659d0fc391442f58e8c82f965b38995725.tar.gz svg.js-f6fc66659d0fc391442f58e8c82f965b38995725.zip |
Shortened arc objects in PathArray
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' }) |