summaryrefslogtreecommitdiffstats
path: root/dist/svg.js
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2014-02-04 10:36:28 +0100
committerwout <wout@impinc.co.uk>2014-02-04 10:36:28 +0100
commitef026b37848e7a0379649fcec8a5bca66ec657fe (patch)
treec514ed313f85cee7f372308c9c208682a2025ace /dist/svg.js
parentce16057a3e65e5e5040e2e8c6ffb697a6ec2cc9c (diff)
downloadsvg.js-ef026b37848e7a0379649fcec8a5bca66ec657fe.tar.gz
svg.js-ef026b37848e7a0379649fcec8a5bca66ec657fe.zip
fix for arcs in patharray toString() method
Diffstat (limited to 'dist/svg.js')
-rw-r--r--dist/svg.js10
1 files changed, 4 insertions, 6 deletions
diff --git a/dist/svg.js b/dist/svg.js
index bad9aad..37be79d 100644
--- a/dist/svg.js
+++ b/dist/svg.js
@@ -1,4 +1,4 @@
-/* svg.js v1.0rc3-4-g189f009 - svg inventor regex default color array pointarray patharray number viewbox bbox rbox element parent container fx relative event defs group arrange mask clip gradient doc shape use rect ellipse line poly path image text textpath nested hyperlink sugar set data memory loader - svgjs.com/license */
+/* svg.js v1.0rc3-5-gce16057 - svg inventor regex default color array pointarray patharray number viewbox bbox rbox element parent container fx relative event defs group arrange mask clip gradient doc shape use rect ellipse line poly path image text textpath nested hyperlink sugar set data memory loader - svgjs.com/license */
;(function() {
this.SVG = function(element) {
@@ -524,9 +524,9 @@
s.push(
this.value[i].rx
, this.value[i].ry
- , this.value[i].angle
- , this.value[i].largeArcFlag
- , this.value[i].sweepFlag
+ , this.value[i].a
+ , this.value[i].l
+ , this.value[i].s
, this.value[i].x
, this.value[i].y
)
@@ -773,8 +773,6 @@
}
// Get bounding box of path
, bbox: function() {
- if (this._cachedBBox) return this._cachedBBox
-
SVG.parser.path.setAttribute('d', this.toString())
return SVG.parser.path.getBBox()