summaryrefslogtreecommitdiffstats
path: root/src/image.js
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2014-03-04 22:19:01 +0100
committerwout <wout@impinc.co.uk>2014-03-04 22:19:01 +0100
commit1286e3de26baa3d75ec6a6eafbb2eaa11305c2e1 (patch)
treeb39257a6256836b9e645f5e5faf37adcbe8d4c4d /src/image.js
parentf3b9e808601e8aa250b9373447527ca67ba75ec4 (diff)
downloadsvg.js-1286e3de26baa3d75ec6a6eafbb2eaa11305c2e1.tar.gz
svg.js-1286e3de26baa3d75ec6a6eafbb2eaa11305c2e1.zip
Bumped to 1.0.0-rc.6
Diffstat (limited to 'src/image.js')
-rwxr-xr-xsrc/image.js3
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