summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2014-01-29 22:57:24 +0100
committerwout <wout@impinc.co.uk>2014-01-29 22:57:24 +0100
commitf6fc66659d0fc391442f58e8c82f965b38995725 (patch)
tree0da8f846db455d7b67ce2d9cabd257d8e605d93e /src
parent0a165763e99d3fd5625f130a83e7117c007a2f7e (diff)
downloadsvg.js-f6fc66659d0fc391442f58e8c82f965b38995725.tar.gz
svg.js-f6fc66659d0fc391442f58e8c82f965b38995725.zip
Shortened arc objects in PathArray
Diffstat (limited to 'src')
-rw-r--r--src/patharray.js10
-rwxr-xr-xsrc/svg.js2
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
}
diff --git a/src/svg.js b/src/svg.js
index 24eb215..798f15d 100755
--- a/src/svg.js
+++ b/src/svg.js
@@ -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' })