]> source.dussan.org Git - svg.js.git/commitdiff
Fixed function usage in example 300/head
authorAndres Kalle <mjomble@gmail.com>
Fri, 26 Dec 2014 00:07:56 +0000 (02:07 +0200)
committerAndres Kalle <mjomble@gmail.com>
Fri, 26 Dec 2014 00:07:56 +0000 (02:07 +0200)
README.md

index 80666006a1acb4991b9da09ff0501d106906c2c7..ba3db32ce4fc30b8bb5f226895e227ef579da2b9 100755 (executable)
--- 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`__