diff options
Diffstat (limited to 'src/path.js')
-rwxr-xr-x | src/path.js | 2 |
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) { |