aboutsummaryrefslogtreecommitdiffstats
path: root/src/path.js
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2014-02-14 22:25:12 +0100
committerwout <wout@impinc.co.uk>2014-02-14 22:25:12 +0100
commit8f9ccb16300142307b8ed6aed46c2a4984545600 (patch)
tree77040e5aa3802c7890d67aa0a62cdff432c2359f /src/path.js
parenta7d61df3e8e065599c42752d60bb2f0190395080 (diff)
downloadsvg.js-8f9ccb16300142307b8ed6aed46c2a4984545600.tar.gz
svg.js-8f9ccb16300142307b8ed6aed46c2a4984545600.zip
Completely reworked `SVG.Text`, `SVG.TSpan` and `SVG.PathArray` and bumped to 1.0.0-rc.5
Diffstat (limited to 'src/path.js')
-rwxr-xr-xsrc/path.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/path.js b/src/path.js
index 0345487..ad231dc 100755
--- a/src/path.js
+++ b/src/path.js
@@ -9,7 +9,7 @@ SVG.Path = SVG.invent({
, extend: {
// Plot new poly points
plot: function(p) {
- return this.attr('d', (this.array = new SVG.PathArray(p, [{ type:'M',x:0,y:0 }])))
+ return this.attr('d', (this.array = new SVG.PathArray(p, [['M', 0, 0]])))
}
// Move by left top corner
, move: function(x, y) {