summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorAndres Kalle <mjomble@gmail.com>2014-12-26 02:07:56 +0200
committerAndres Kalle <mjomble@gmail.com>2014-12-26 02:07:56 +0200
commit58ddd89d079ab7d2ab4cd62c1c7c0cc720677063 (patch)
tree6405cea282ab0d326fed4bc0749b331eee0cc167 /README.md
parent7984a87786effaed2ed6e517c899cc68204e4e6b (diff)
downloadsvg.js-58ddd89d079ab7d2ab4cd62c1c7c0cc720677063.tar.gz
svg.js-58ddd89d079ab7d2ab4cd62c1c7c0cc720677063.zip
Fixed function usage in example
Diffstat (limited to 'README.md')
-rwxr-xr-xREADME.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 8066600..ba3db32 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`__