diff options
author | wout <wout@impinc.co.uk> | 2013-04-07 15:36:30 +0100 |
---|---|---|
committer | wout <wout@impinc.co.uk> | 2013-04-07 15:36:30 +0100 |
commit | 10acb5281d2fbcf19f4a2c7a325c2fc95dccccbd (patch) | |
tree | 140b41f0f9fa9dd981e9fe950d412fce52b44584 /dist/svg.js | |
parent | 3864ff14261506b9875ea7e19d30d378b304b146 (diff) | |
download | svg.js-10acb5281d2fbcf19f4a2c7a325c2fc95dccccbd.tar.gz svg.js-10acb5281d2fbcf19f4a2c7a325c2fc95dccccbd.zip |
Fix for leading method on non text elements
Diffstat (limited to 'dist/svg.js')
-rw-r--r-- | dist/svg.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dist/svg.js b/dist/svg.js index ec1b8c6..edd5add 100644 --- a/dist/svg.js +++ b/dist/svg.js @@ -1,4 +1,4 @@ -/* svg.js v0.12-7-gc2e2679 - 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-8-g3864ff1 - 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) { @@ -507,7 +507,7 @@ if (this._isStyle(a)) { return a == 'text' ? this.content : - a == 'leading' ? + a == 'leading' && this.leading ? this.leading() : this.style(a) @@ -549,7 +549,7 @@ if (this._isStyle(a)) { a == 'text' ? this.text(v) : - a == 'leading' ? + a == 'leading' && this.leading ? this.leading(v) : this.style(a, v) |