diff options
author | wout <wout@impinc.co.uk> | 2013-04-08 18:27:49 +0100 |
---|---|---|
committer | wout <wout@impinc.co.uk> | 2013-04-08 18:27:49 +0100 |
commit | 0b8d1de2c597d34119f8213cac46fe1f832c3131 (patch) | |
tree | 6da2ead2015728cc5999a21ec93fdd84f1ee5a3e /dist/svg.js | |
parent | 6117eb4cdf07a687f663ef7cddd67223a947c9d5 (diff) | |
download | svg.js-0b8d1de2c597d34119f8213cac46fe1f832c3131.tar.gz svg.js-0b8d1de2c597d34119f8213cac46fe1f832c3131.zip |
Fix in poly plot() with point arrays
Diffstat (limited to 'dist/svg.js')
-rw-r--r-- | dist/svg.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dist/svg.js b/dist/svg.js index c0a4700..4aebf60 100644 --- a/dist/svg.js +++ b/dist/svg.js @@ -1,4 +1,4 @@ -/* svg.js v0.12-9-g10acb52 - svg regex default color viewbox bbox element container fx event group arrange defs mask clip pattern gradient doc shape rect ellipse line poly path plotable image text nested sugar - svgjs.com/license */ +/* svg.js v0.12-14-g6117eb4 - svg regex default color viewbox bbox element container fx event group arrange defs mask clip pattern gradient doc shape rect ellipse line poly path plotable image text nested sugar - svgjs.com/license */ ;(function() { this.SVG = function(element) { @@ -1780,7 +1780,7 @@ for (i = 0, l = p.length; i < l; i++) points.push(p[i].join(',')) - p = points.length == 0 ? points.join(' ') : '0,0' + p = points.length > 0 ? points.join(' ') : '0,0' } return this.attr('points', p || '0,0') @@ -1788,6 +1788,7 @@ }) + SVG.Path = function(unbiased) { this.constructor.call(this, SVG.create('path')) |