summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFuzzy <ulima.ums@googlemail.com>2015-02-22 00:51:39 +0100
committerFuzzy <ulima.ums@googlemail.com>2015-02-22 00:51:39 +0100
commit027c365d9e59ccd7d06a162965c490c16fac6cdc (patch)
tree60152b718f27d10f80ce6bd2225473c0f8370684
parent26cad6db62fb700fe42cf98930ff2778e2362f88 (diff)
parent58ddd89d079ab7d2ab4cd62c1c7c0cc720677063 (diff)
downloadsvg.js-027c365d9e59ccd7d06a162965c490c16fac6cdc.tar.gz
svg.js-027c365d9e59ccd7d06a162965c490c16fac6cdc.zip
Merge pull request #300 from mjomble/patch-2
Fixed function usage in example
-rwxr-xr-xREADME.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 2f9d344..01c36e9 100755
--- a/README.md
+++ b/README.md
@@ -377,7 +377,7 @@ _Javascript inheritance stack: `SVG.Image` < `SVG.Shape` < `SVG.Element`_
Loading another image can be done with the `load()` method:
```javascript
-draw.image('/path/to/another/image.jpg')
+image.load('/path/to/another/image.jpg')
```
__`returns`: `itself`__