diff options
Diffstat (limited to 'src/image.js')
-rwxr-xr-x | src/image.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/image.js b/src/image.js index 60d57b1..d70cfb4 100755 --- a/src/image.js +++ b/src/image.js @@ -27,7 +27,7 @@ SVG.Image = SVG.invent({ p.size(self.width(), self.height()) /* callback */ - if (typeof self._loaded == 'function') + if (typeof self._loaded === 'function') self._loaded.call(self, { width: img.width , height: img.height @@ -52,4 +52,5 @@ SVG.Image = SVG.invent({ return this.put(new SVG.Image).load(source).size(width || 0, height || width || 0) } } + })
\ No newline at end of file |