]> source.dussan.org Git - svg.js.git/commitdiff
Typo in readme
authorwout <wout@impinc.co.uk>
Mon, 17 Dec 2012 21:00:56 +0000 (22:00 +0100)
committerwout <wout@impinc.co.uk>
Mon, 17 Dec 2012 21:00:56 +0000 (22:00 +0100)
README.md

index bf65f015c2ea306dc63d7e246c43750ff4079a7e..d15f6a117aff140d59f28856277435eb7753d0c5 100644 (file)
--- a/README.md
+++ b/README.md
@@ -46,7 +46,7 @@ rect.attr({
 });
 
 // set an attribute with a namespace
-rect.setAttribute('x', 50, 'http://www.w3.org/2000/svg');
+rect.attr('x', 50, 'http://www.w3.org/2000/svg');
 ```
 
 #### Move