diff options
-rwxr-xr-x | dist/svg.js | 4 | ||||
-rwxr-xr-x | src/image.js | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/dist/svg.js b/dist/svg.js index 4de3979..fe53bc5 100755 --- a/dist/svg.js +++ b/dist/svg.js @@ -1,4 +1,4 @@ -/* svg.js 1.0.0-rc.6 - svg inventor regex default color array pointarray patharray number viewbox bbox rbox element parent container fx relative event defs group arrange mask clip gradient pattern doc shape use rect ellipse line poly path image text textpath nested hyperlink sugar set data memory loader helpers - svgjs.com/license */ +/* svg.js 1.0.0-rc.6-1-g1286e3d - svg inventor regex default color array pointarray patharray number viewbox bbox rbox element parent container fx relative event defs group arrange mask clip gradient pattern doc shape use rect ellipse line poly path image text textpath nested hyperlink sugar set data memory loader helpers - svgjs.com/license */ ;(function() { this.SVG = function(element) { @@ -2836,7 +2836,7 @@ , construct: { // Create image element, load image and set its size image: function(source, width, height) { - return this.put(new SVG.Image).load(source).size(width || 0, height || width || 0) + return this.put(new SVG.Image).load(source).size(width || 0, height || width || 0) } } diff --git a/src/image.js b/src/image.js index d70cfb4..33f3979 100755 --- a/src/image.js +++ b/src/image.js @@ -49,7 +49,7 @@ SVG.Image = SVG.invent({ , construct: { // Create image element, load image and set its size image: function(source, width, height) { - return this.put(new SVG.Image).load(source).size(width || 0, height || width || 0) + return this.put(new SVG.Image).load(source).size(width || 0, height || width || 0) } } |