diff options
author | wout <wout@impinc.co.uk> | 2014-01-22 13:53:14 +0100 |
---|---|---|
committer | wout <wout@impinc.co.uk> | 2014-01-22 13:53:14 +0100 |
commit | c9678562e1ba5c010ba15aa036f6ca86386c5b65 (patch) | |
tree | d8dd276b4cb6293e0a19813dc415c0ce4e149e76 /dist/svg.js | |
parent | f8236f9b6eda01897e0ebb69867c50c2669a9c86 (diff) | |
download | svg.js-c9678562e1ba5c010ba15aa036f6ca86386c5b65.tar.gz svg.js-c9678562e1ba5c010ba15aa036f6ca86386c5b65.zip |
Fix in SVG.Viewbox
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 25299d0..6e75c95 100644 --- a/dist/svg.js +++ b/dist/svg.js @@ -1,4 +1,4 @@ -/* svg.js v0.33 - svg regex default color array number viewbox bbox rbox element parent container fx event defs group arrange mask clip gradient doc shape use rect ellipse line poly path image text textpath nested sugar set memory loader - svgjs.com/license */ +/* svg.js v0.33-5-gf8236f9 - svg regex default color array number viewbox bbox rbox element parent container fx event defs group arrange mask clip gradient doc shape use rect ellipse line poly path image text textpath nested sugar set memory loader - svgjs.com/license */ ;(function() { this.SVG = function(element) { @@ -535,8 +535,8 @@ /* clone attributes */ this.x = box.x this.y = box.y - this.width = element.node.clientWidth || element.node.getBoundingClientRect().width - this.height = element.node.clientHeight || element.node.getBoundingClientRect().height + this.width = element.node.clientWidth || element.attr('width') + this.height = element.node.clientHeight || element.attr('height') if (view) { /* get width and height from viewbox */ |