From: Andres Kalle Date: Fri, 26 Dec 2014 00:07:56 +0000 (+0200) Subject: Fixed function usage in example X-Git-Tag: 1.1.0~21^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F300%2Fhead;p=svg.js.git Fixed function usage in example --- 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`__