]> source.dussan.org Git - svg.js.git/commitdiff
Replaced a non breaking space with a real space
authorwout <wout@impinc.co.uk>
Wed, 5 Mar 2014 08:56:22 +0000 (09:56 +0100)
committerwout <wout@impinc.co.uk>
Wed, 5 Mar 2014 08:56:22 +0000 (09:56 +0100)
Thanks @musterknabe

dist/svg.js
src/image.js

index 4de397942a64700a73c8a8f9514646d958213a74..fe53bc524cccf13ca7bd97ceed1e119d537e7011 100755 (executable)
@@ -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) {
   , 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)
       }
     }
   
index d70cfb4d518d54abe0323558993ce0b513f5eaed..33f3979418bbe3fa0f0d0def5ae3d50b771302f5 100755 (executable)
@@ -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)
     }
   }